1 /*****************************************************
3 * author Stephan Witt <stephan.witt@beusen.de>
4 *****************************************************/
8 /* $Id: strerror.c,v 1.3 2000/08/04 13:12:30 lasgouttes Exp $ */
10 #if !defined(lint) && !defined(WITH_WARNINGS)
11 static char vcid[] = "$Id: strerror.c,v 1.3 2000/08/04 13:12:30 lasgouttes 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] ;