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

RE: sys_nerr

>From: "Wichmann, Mats D" <mats.d.wichmann@intel.com>

>> >Of course, sys_nerr is not a public symbol in the LSB.
>> >How would I work around this?
>> Call strerror() and check if it returns a NULL pointer.

>sterror doesn't return NULL; it returns "Unknown error x" if 
>you call it with an out-of-range x. 

Looks like you found a broken strerror() implementation.


 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: