errno.h: ESTRPIPE

DJ Delorie dj@redhat.com
Tue Mar 17 22:16:00 GMT 2009


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).



More information about the Newlib mailing list