errno.h: ESTRPIPE
Jeff Johnston
jjohnstn@redhat.com
Tue Mar 17 23:29:00 GMT 2009
DJ Delorie wrote:
> Jeff Johnston <jjohnstn@redhat.com> writes:
>
>
>> ELBIN, EPROCLIM, EFTYPE, and ENMFILE
>>
>
> DJGPP says:
>
> ENMFILE -- No more files. @code{findfirst} and @code{findnext} assign
> this to @code{errno} when they exhaust the files in the directory.
> @code{readdir} does that as well.
>
> So, probably Cygwin-specific from newlib's point of view. Compatible
> with Borland, I think. Linux readdir() doesn't set errno when it runs
> out of entries, it just returns 0 instead of 1 (vs -1 for error).
>
Thanks. I'll put it under CYGWIN for now unless the Cygwin folks say
otherwise.
-- Jeff J.
More information about the Newlib
mailing list