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] |
stat always succeeds. Even with a very rudimentary file system, shouldn't stat be able to fail with ENOENT, EFAULT, ENAMETOOLONG, ENOTDIR, etc?
fstat always succeeds. What about EBADF, EFAULT, etc.?
link.c always fails with EMLINK; wouldn't ENOSYS be better? wait.c: likewise always with ECHILD; wouldn't ENOSYS be better? Tools that detect lack of support recognize ENOSYS as indicating that.
These minimal stubs agree with what the newlib documentation says at http://sourceware.org/newlib/ under 14.1 .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |