mirror of https://github.com/mkerrisk/man-pages
Minor formatting changes
This commit is contained in:
parent
0680fbb0e8
commit
a089ce72bb
16
man2/bind.2
16
man2/bind.2
|
@ -74,7 +74,7 @@ bind \- bind a name to a socket
|
||||||
.BI "int bind(int " sockfd ", const struct sockaddr *" my_addr \
|
.BI "int bind(int " sockfd ", const struct sockaddr *" my_addr \
|
||||||
", socklen_t " addrlen );
|
", socklen_t " addrlen );
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B bind
|
.BR bind ()
|
||||||
gives the socket
|
gives the socket
|
||||||
.I sockfd
|
.I sockfd
|
||||||
the local address
|
the local address
|
||||||
|
@ -89,7 +89,7 @@ When a socket is created with
|
||||||
it exists in a name space (address family) but has no name assigned.
|
it exists in a name space (address family) but has no name assigned.
|
||||||
.PP
|
.PP
|
||||||
It is normally necessary to assign a local address using
|
It is normally necessary to assign a local address using
|
||||||
.B bind
|
.BR bind ()
|
||||||
before a
|
before a
|
||||||
.B SOCK_STREAM
|
.B SOCK_STREAM
|
||||||
socket may receive connections (see
|
socket may receive connections (see
|
||||||
|
@ -186,7 +186,7 @@ The socket inode would reside on a read-only file system.
|
||||||
The transparent proxy options are not described.
|
The transparent proxy options are not described.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
SVr4, 4.4BSD (the
|
SVr4, 4.4BSD (the
|
||||||
.B bind
|
.BR bind ()
|
||||||
function first appeared in BSD 4.2). SVr4 documents additional
|
function first appeared in BSD 4.2). SVr4 documents additional
|
||||||
.BR EADDRNOTAVAIL ,
|
.BR EADDRNOTAVAIL ,
|
||||||
.BR EADDRINUSE ,
|
.BR EADDRINUSE ,
|
||||||
|
@ -200,9 +200,13 @@ and
|
||||||
Unix-domain error conditions.
|
Unix-domain error conditions.
|
||||||
.SH NOTE
|
.SH NOTE
|
||||||
The third argument of
|
The third argument of
|
||||||
.B bind
|
.BR bind ()
|
||||||
is in reality an int (and this is what BSD 4.* and libc4 and libc5 have).
|
is in reality an
|
||||||
Some POSIX confusion resulted in the present socklen_t, also used by glibc.
|
.I int
|
||||||
|
(and this is what BSD 4.* and libc4 and libc5 have).
|
||||||
|
Some POSIX confusion resulted in the present
|
||||||
|
.IR socklen_t ,
|
||||||
|
also used by glibc.
|
||||||
See also
|
See also
|
||||||
.BR accept (2).
|
.BR accept (2).
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
Loading…
Reference in New Issue