mirror of https://github.com/mkerrisk/man-pages
accept.2: Add mention of POSIX.1-2008 regarding EAGAIN vs EWOULDBLOCK
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9db8624bc8
commit
fe472573ff
|
@ -217,8 +217,9 @@ and
|
|||
.\" Actually EAGAIN on Linux
|
||||
The socket is marked nonblocking and no connections are
|
||||
present to be accepted.
|
||||
POSIX.1-2001 allows either error to be returned for this case,
|
||||
and does not require these constants to have the same value,
|
||||
POSIX.1-2001 and POSIX.1-2008
|
||||
allow either error to be returned for this case,
|
||||
and do not require these constants to have the same value,
|
||||
so a portable application should check for both possibilities.
|
||||
.TP
|
||||
.B EBADF
|
||||
|
|
Loading…
Reference in New Issue