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:
Giorgos Keramidas 2005-05-04 11:09:26 +00:00
parent 5264841183
commit e3446e1f8e

View File

@ -154,6 +154,10 @@ The descriptor references a file, not a socket.
.It Bq Er EINVAL .It Bq Er EINVAL
.Xr listen 2 .Xr listen 2
has not been called on the socket descriptor. has not been called on the socket descriptor.
.It Bq Er EINVAL
The
.Fa addrlen
argument is negative.
.It Bq Er EFAULT .It Bq Er EFAULT
The The
.Fa addr .Fa addr