ERRNO(1) moreutils ERRNO(1)

.SH "NAME" errno - look up errno names and descriptions

.SH "SYNOPSIS"

.HP 144u

**errno**  
{*name-or-code*}

.HP 144u

**errno**  
\[-ls]  
\[--list]

.HP 144u

**errno**  
\[-s]  
\[--search]  
{*word*}

.HP 144u

**errno**  
\[-S]  
\[--search-all-locales]  
{*word*}

.SH "DESCRIPTION"

.PP **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.

.SH "OPTIONS"

.PP **-l**, **--list**

List all errno values.

.RE

.PP **-s**, **--search**

Search for errors whose description contains all the given words (case-insensitive).

.RE

.PP **-S**, **--search-all-locales**

Like **--search**, but searches all installed locales.

.RE

.SH "AUTHOR"

.PP Lars Wirzenius

.SH "SEE ALSO"

.PP [**errno**(3)](/man/enterprise-packages/moreutils/errno.3)

2012-06-05 moreutils

---

Document: errno(1) from moreutils 0.70-r2 (Chainguard OS)
Source: git://git.joeyh.name/moreutils
