1 /*****************************************************
3 * author Stephan Witt <stephan.witt@beusen.de>
4 *****************************************************/
8 // $Id: strerror.c,v 1.2 1999/10/02 16:21:10 larsbj Exp $
10 #if !defined(lint) && !defined(WITH_WARNINGS)
11 static char vcid[] = "$Id: strerror.c,v 1.2 1999/10/02 16:21:10 larsbj Exp $";
15 extern char * sys_errlist [] ;
17 char * strerror (int errnum)
19 static char * errtext = "unknown errno" ;
21 if ( errnum < sys_nerr )
22 return sys_errlist [errnum] ;