errno - Man Page
look up errno names and descriptions
Examples (TL;DR)
- Lookup errno description by name or code:
errno name|code
- List all errno names, codes, and descriptions:
errno --list
- Search for code whose description contains all of the given text:
errno --search text
- Search for code whose description contains all of the given text (all locales):
errno --search-all-locales text
Synopsis
errno {name-or-code}
errno [-S] [--search-all-locales] {word}
Description
errno looks up errno macro names, errno codes, and the corresponding descriptions. For example, if given ENOENT on a Linux system, it prints out the code 2 and the description "No such file or directory". If given the code 2, it prints ENOENT and the same description.
Options
- -l, --list
List all errno values.
- -s, --search
Search for errors whose description contains all the given words (case-insensitive).
- -S, --search-all-locales
Like --search, but searches all installed locales.
Author
Lars Wirzenius
See Also
Referenced By
2012-06-05 moreutils