errno.3: Add some comments on EAGAIN/EWOULDBLOCK and EDEADLK/EDEADLOCK

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Rasmus Villemoes 2019-08-29 12:06:21 +02:00 committed by Michael Kerrisk
parent 96f49e54da
commit 7a008ecff1
1 changed files with 3 additions and 2 deletions

View File

@ -94,7 +94,7 @@ must have distinct values, with the exception of
.B EAGAIN
and
.BR EWOULDBLOCK ,
which may be the same.
which may be the same. On Linux, these two always have the same value.
.PP
The error numbers that correspond to each symbolic name
vary across UNIX systems,
@ -240,8 +240,9 @@ Connection reset (POSIX.1-2001).
Resource deadlock avoided (POSIX.1-2001).
.TP
.B EDEADLOCK
Synonym for
On most platforms, a synonym for
.BR EDEADLK .
On some (e.g. Linux mips, powerpc, sparc), it is a separate error code "File locking deadlock error".
.TP
.B EDESTADDRREQ
Destination address required (POSIX.1-2001).