This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: read() problem ?
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: "Nicolae Santean" <nicolae_santean at hotmail dot com>, cygwin at cygwin dot com
- Date: Sat, 09 Mar 2002 15:05:10 -0500
- Subject: Re: read() problem ?
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/