delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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" <nicolae_santean AT hotmail DOT com>, cygwin AT cygwin DOT com |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: read() problem ? |
In-Reply-To: | <F16uowy5WRSOiPPKEgt00003938@hotmail.com> |
Mime-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |