Document that getpeername(2) and getsockname(2) can fail with EINVAL.
Reviewed by: glebius
This commit is contained in:
parent
4133ee1e44
commit
51fb3b32c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243439
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user