This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: elm 2.5.3 and glibc 2.1.93


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.

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