strerror

NAME

strerror - output error strings

SYNOPSIS

strerror [-lx] errnumber ...

DESCRIPTION

The strerror(1) utility writes the error string associated with the errnumber to standard-out.

The options are as follows:

-l
List all known error codes. When -l is specified, all other options and arguments are ignored. For example, strerror -l 32 is equivalent to strerror -l.
-x
Write an explanation of the command to standard-error.

DIAGNOSTICS

The strerror(1) utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

strsignal(1)