errno
System error number lookup utility
TLDR
Look up error by number
SYNOPSIS
errno [options] [error...]
DESCRIPTION
errno looks up errno values and their descriptions. It translates between error numbers and symbolic names (like EINVAL, ENOENT) used in system calls.
The tool is valuable for debugging, helping understand system call failures. Error numbers from strace output or program errors can be quickly translated to meaningful descriptions.
errno also provides searching and listing capabilities to explore the full set of defined errors.
PARAMETERS
ERROR
Error number or name to look up.-l, --list
List all errors.-s, --search TEXT
Search descriptions.--help
Display help information.
CAVEATS
Error numbers may vary between architectures. Some errors are system-specific. Descriptions may be terse. Not all errno values have standard meanings.
HISTORY
errno is part of the moreutils package. The errno system dates back to early Unix, providing a standardized way for system calls to report errors.
