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: ISO C and errno


   Date: Sat, 23 Sep 2000 09:21:59 -0700
   From: "H . J . Lu" <hjl@lucon.org>

   If ISO C says errno is unchanged for a succesful return, there are
   many ISO C functions in glibc call the none ISO C system calls which
   change errno in the current glibc.

Only ISO C functions that are documented to store an error value in
errno are required to leave it alone if they return successfully.
Those functions should save and restore errno if necessary, and AFAIK
they do so.

Mark

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