strerror(3C) — C LIBRARY FUNCTIONS
NAME
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. strerror uses the same set of error messages as perror. The returned string should not be overwritten.
SEE ALSO
— C Development Set