Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020309150359.01d7f000@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Sat, 09 Mar 2002 15:05:10 -0500 To: "Nicolae Santean" , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: read() problem ? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 AT rfk DOT 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/