DOKK / manpages / debian 10 / manpages-pt-dev / strerror.3.pt
STRERROR(3) Linux Programmer's Manual STRERROR(3)

strerror - return string describing error code

#include <string.h>

char *strerror(int errnum);

The strerror() function returns a string describing the error code passed in the argument errnum. The string can only be used until the next call to strerror().

The strerror() function returns the appropriate description string, or an unknown error message if the error code is unknown.

SVID 3, POSIX, BSD 4.3, ISO 9899

errno(3), perror(3), strsignal(3)

April 13, 1993 GNU