Document the fact that accept(2) may return EINVAL when addrlen is
negative (in addition to returning EINVAL when called on a descriptor that is not a socket). Submitted by: Arne H Juul <arnej@europe.yahoo-inc.com> PR: docs/80587
This commit is contained in:
parent
5264841183
commit
e3446e1f8e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user