This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Reading a write-only file doesn't set error condition (was Re: Cygwin fread on Write-Only File Descriptor returns undefined state)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com, newlib at sourceware dot org
- Date: Wed, 14 Jun 2006 18:49:00 +0200
- Subject: Re: Reading a write-only file doesn't set error condition (was Re: Cygwin fread on Write-Only File Descriptor returns undefined state)
- References: <448F9EA1.7050908@tlinx.org> <20060614082441.GA6326@calimero.vinschen.de> <4490370B.7080609@tlinx.org>
- Reply-to: cygwin at cygwin dot com
On Jun 14 09:19, Linda Walsh wrote:
> Er, are you referring to the case of zero possibly being
> a valid return value if the program requests zero bytes be read?
> I didn't say "only 0"... I new about the other values<count,
> but was focusing on the conditions that would exist only when
> a 0 was returned for the return value.
Nope, sorry, I just got you wrong.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat