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

Re: sys_errlist (Re: gcc (Re: porting?))

Mikko Larjava <mitala@nic.funet.fi> writes:

|> Is the 
|> array really needed to be global or could it just be static inside 
|> strerror.c? The point of having both strerror() and the array is not 
|> clear for me. 

sys_errlist is needed for compatibility with BSD, but obsoleted by
strerror().  Note that SunOS4 doesn't have strerror.

Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"