products/Sources/formale Sprachen/C/Lyx/po image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: strerror.C   Sprache: C

/*****************************************************
 * provides strerror()
 * author Stephan Witt <[email protected]>
 *****************************************************/


#include <config.h>

//  $Id: strerror.C,v 1.1.1.1 1998/04/20 21:14:55 larsbj Exp $

#if !defined(lint) && !defined(WITH_WARNINGS)
static char vcid[] = "$Id: strerror.C,v 1.1.1.1 1998/04/20 21:14:55 larsbj Exp $";
#endif /* lint */

extern int  sys_nerr ;
extern char * sys_errlist [] ;

char * strerror (int errnum)
{
 static char * errtext = "unknown errno" ;

 if ( errnum < sys_nerr )
  return sys_errlist [errnum] ;
 return errtext ;
}

[ zur Elbe Produktseite wechseln0.22Quellennavigators  Analyse erneut starten  ]