Message ID | CABMFubf=Ht7xFaN+9jiddDj08D150jwHpio8i09KHCSD_9bK=Q@mail.gmail.com |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
Series | accept.2: Added information about what can cause EAGAIN and EWOULDBLOCK errors | expand |
diff --git a/man2/accept.2 b/man2/accept.2 index a4bebd214..63e90a5e6 100644 --- a/man2/accept.2 +++ b/man2/accept.2 @@ -208,7 +208,9 @@ and .BR EAGAIN " or " EWOULDBLOCK .\" Actually EAGAIN on Linux The socket is marked nonblocking and no connections are -present to be accepted. +present to be accepted, or a receive timeout has been +set and the timeout expired before a new connection +was available to be accepted. 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,