Remove text under EINVAL error: "This may change in the future:

see linux/unix/sock.c for details."  This behaviour has been
unchanged for a long time, and seems unlikely to change.

Add EADDRINUSE to errors.
This commit is contained in:
Michael Kerrisk 2005-12-19 10:46:01 +00:00
parent 89cc227528
commit 5059acc358
1 changed files with 9 additions and 7 deletions

View File

@ -183,15 +183,17 @@ is set appropriately.
.B EACCES
The address is protected, and the user is not the superuser.
.TP
.B EADDRINUSE
The given address is already in use.
.TP
.B EBADF
.I sockfd
is not a valid descriptor.
.TP
.B EINVAL
The socket is already bound to an address. This may change in the future:
see
.I linux/unix/sock.c
for details.
The socket is already bound to an address.
.\" This may change in the future: see
.\" .I linux/unix/sock.c for details.
.TP
.B ENOTSOCK
Argument is a descriptor for a file, not a socket.
@ -240,9 +242,9 @@ The transparent proxy options are not described.
.SH "CONFORMING TO"
SVr4, 4.4BSD (the
.BR bind ()
function first appeared in 4.2BSD). SVr4 documents additional
.BR EADDRNOTAVAIL ,
.BR EADDRINUSE ,
function first appeared in 4.2BSD).
SVr4 documents additional
.BR EADDRNOTAVAIL
and
.B ENOSR
general error conditions, and