Document that getpeername(2) and getsockname(2) can fail with EINVAL.

Reviewed by:	glebius
This commit is contained in:
Kevin Lo 2012-11-23 10:14:54 +00:00
parent 4133ee1e44
commit 51fb3b32c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243439
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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