aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/connect.28
1 files changed, 6 insertions, 2 deletions
diff --git a/man2/connect.2 b/man2/connect.2
index 5941cf2d3f..313f73adde 100644
--- a/man2/connect.2
+++ b/man2/connect.2
@@ -168,7 +168,9 @@ The passed address didn't have the correct address family in its
field.
.TP
.B EAGAIN
-Insufficient entries in the routing cache.
+For nonblocking UNIX domain sockets, the socket is nonblocking, and the
+connection cannot be completed immediately. For other socket families, there are
+insufficient entries in the routing cache.
.TP
.B EALREADY
The socket is nonblocking and a previous connection attempt has not yet
@@ -188,7 +190,9 @@ The socket structure address is outside the user's address space.
.TP
.B EINPROGRESS
The socket is nonblocking and the connection cannot be completed
-immediately.
+immediately. (UNIX domain sockets return
+.BR EAGAIN
+instead.)
It is possible to
.BR select (2)
or