[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: sys_nerr

>From mats.d.wichmann@intel.com Wed Feb  6 22:05:04 2002

>> >The behavior on a standard Linux system (glibc 2.2) is as
>> >described above on invalid errnos:  "Unknown error x".
>> Which is illegal according to SUSv3.
>> SUSv3 requires that strerror() is thread-safe, so it cannot
>> return a modified string.

>Yeah, I was quoting from SUSv2, which says that it does not have 
>to be thread-safe. There's another interface, strerror_r (defined
>in LSB) which is designed to be reentrant, so it seems to be legal
>as currently implemented. At the moment, LSB is aligned with SUSv2, 
>not v3.

OOPs, it seems that I was reading too qiuickly...

SUSv3 also says _not_ reenntant.


 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.gmd.de		(work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

Reply to: