strerror [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
strerror
Maps an error number to a message string.
Syntax
#include <string.h>
char *strerror(int errnum);
Parameters
errnum An error number.
Return Values
x A pointer to the error message.
NULL A null pointer is returned if there is no matching error
message.
Description
The strerror function returns a pointer to an error message that
corresponds with the specified error number. Do not modify the value of
the error message referenced by the returned pointer.
See Also
ANSI C 4.11.6.2
MPE/iX 5.0 Documentation