strerror(3) CLIX strerror(3)
NAME
strerror - Gets error message string
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <string.h>
char *strerror(
int errnum );
PARAMETERS
errnum Specifies the error number.
DESCRIPTION
The strerror() function maps the error number contained in errnum to an
error message string, and returns a pointer to that string. The
strerror() function uses the same set of error messages as perror(). The
returned string should not be overwritten.
RETURN VALUES
The strerror() function returns a pointer to the string mapped to errnum.
RELATED INFORMATION
Functions: perror(3)
2/94 - Intergraph Corporation 1