mirror of https://github.com/mkerrisk/man-pages
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:
parent
f1b7532ba7
commit
88cc4cb6cc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue