Manual page for strerror(3C)
strerror - get error message string
SYNOPSIS
#include <string.h>
char *strerror(int errnum);
MT-LEVEL
Safe
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.
ERRORS
strerror
returns
NULL
if
errnum
is out-of-range.
SEE ALSO
gettext.3i
perror.3c
setlocale.3c
NOTES
If the application is linked with
-lintl,
then messages returned from this function
are in the native language specified by the
LC_MESSAGES
locale category; see
setlocale.3c
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97