summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/accept.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2
index 5b844c6..800d9a2 100644
--- a/lib/libc/sys/accept.2
+++ b/lib/libc/sys/accept.2
@@ -154,6 +154,10 @@ The descriptor references a file, not a socket.
.It Bq Er EINVAL
.Xr listen 2
has not been called on the socket descriptor.
+.It Bq Er EINVAL
+The
+.Fa addrlen
+argument is negative.
.It Bq Er EFAULT
The
.Fa addr
OpenPOWER on IntegriCloud