This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: errno.h: ESTRPIPE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]