errno.3: Note the use of perror(3) and strerror(3)

Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-11-23 10:48:58 +01:00
parent afde18c00a
commit 5a99c72245
1 changed files with 8 additions and 0 deletions

View File

@ -101,6 +101,14 @@ vary across UNIX systems,
and even across different architectures on Linux.
Therefore, numeric values are not included in the list of
error names below.
Portable applications should use the symbolic error names
(rather than explicit error numbers).
The
.BR perror (3)
and
.BR strerror (3)
functions can be used to convert these names to
corresponding textual error messages.
.PP
On any particular Linux system,
one can obtain a list of all symbolic error names and