elm 2.5.3 and glibc 2.1.93
H . J . Lu
hjl@lucon.org
Sat Sep 23 09:44:00 GMT 2000
On Sat, Sep 23, 2000 at 06:37:18PM +0200, Mark Kettenis wrote:
> My copy of the manual says that:
>
> ... you should not use `errno' to determine _whether_ a call
> failed. The proper way to do that is documented for each
> function. _If_ the call the failed, you can examine `errno'.
>
Read my code again. It does just that. It only assumes errno is
unchanged when bar () returns 0 since glibc manual says so.
H.J.
More information about the Libc-hacker
mailing list