diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/getpeername.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/getsockname.2 | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2 index 9037119..255c7a0 100644 --- a/lib/libc/sys/getpeername.2 +++ b/lib/libc/sys/getpeername.2 @@ -67,6 +67,10 @@ The argument is not a valid descriptor. .It Bq Er ECONNRESET The connection has been reset by the peer. +.It Bq Er EINVAL +The value of the +.Fa namelen +argument is not valid. .It Bq Er ENOTSOCK The argument .Fa s diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index f1537c7..1de0257 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -66,6 +66,10 @@ The argument is not a valid descriptor. .It Bq Er ECONNRESET The connection has been reset by the peer. +.It Bq Er EINVAL +The value of the +.Fa namelen +argument is not valid. .It Bq Er ENOTSOCK The argument .Fa s |