perror.3: Suggest use of strerror(3) in place of deprecated 'sys_errlist'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-02-08 16:23:13 +01:00
parent f1b7532ba7
commit 88cc4cb6cc
1 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,9 @@ may not have been added to
.IR sys_errlist "[]."
The use of
.IR sys_errlist "[]"
is nowadays deprecated.
is nowadays deprecated; use
.BR strerror (3)
instead
When a system call fails, it usually returns \-1 and sets the
variable