DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

strerror(3C)


strerror -- get error message string

Synopsis

   #include <string.h>
   

char *strerror (int errnum);

Description

strerror maps the error number in errnum to an error message string, and returns a pointer to that string. It returns the string "Unknown Error" for invalid values of errnum.

strerror uses the same set of error messages as perror. The returned string should not be overwritten.

Files

Message catalog: uxsyserr

References

perror(3C)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004