perror.3: Note that use of 'sys_errlist' is deprecated

Reported-by: Jesus Otero <jesus.otero@rysg.es>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-04-15 22:34:40 +12:00
parent b29f28723d
commit 79038fa74d
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ The largest message number provided in the table is
Be careful when directly accessing this list because new error values
may not have been added to
.IR sys_errlist "[]."
The use of
.IR sys_errlist "[]"
is nowadays deprecated.
When a system call fails, it usually returns \-1 and sets the
variable