Reading a write-only file doesn't set error condition (was Re: Cygwin fread on Write-Only File Descriptor returns undefined state)
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Jun 14 20:57:00 GMT 2006
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
More information about the Newlib
mailing list