read() problem ?
Larry Hall (RFK Partners, Inc)
lhall@rfk.com
Sat Mar 9 14:16:00 GMT 2002
At 11:32 AM 3/9/2002, Nicolae Santean wrote:
>Is anybody aware of any issue related to the system
>call of read(filedescriptor, buffer, nbytes) under
>cygwin? The function is supposed to return 0 if EOF
>or # of bytes read otherwise. I get a 4GB read -
>clearly not correct (nbytes == 277).
>
>Appreciating,
As mentioned in the mailing list archives previously, Cygwin uses 32-bit
pointers. So you're result is expected, given that.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list