Minor formatting changes

This commit is contained in:
Michael Kerrisk 2005-06-30 09:36:24 +00:00
parent 0680fbb0e8
commit a089ce72bb
1 changed files with 10 additions and 6 deletions

View File

@ -74,7 +74,7 @@ bind \- bind a name to a socket
.BI "int bind(int " sockfd ", const struct sockaddr *" my_addr \
", socklen_t " addrlen );
.SH DESCRIPTION
.B bind
.BR bind ()
gives the socket
.I sockfd
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.
.PP
It is normally necessary to assign a local address using
.B bind
.BR bind ()
before a
.B SOCK_STREAM
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.
.SH "CONFORMING TO"
SVr4, 4.4BSD (the
.B bind
.BR bind ()
function first appeared in BSD 4.2). SVr4 documents additional
.BR EADDRNOTAVAIL ,
.BR EADDRINUSE ,
@ -200,9 +200,13 @@ and
Unix-domain error conditions.
.SH NOTE
The third argument of
.B bind
is in reality an int (and this is what BSD 4.* and libc4 and libc5 have).
Some POSIX confusion resulted in the present socklen_t, also used by glibc.
.BR bind ()
is in reality an
.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
.BR accept (2).
.SH "SEE ALSO"