This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]