diff --git a/man2/bind.2 b/man2/bind.2 index 65c9f2595..fe72bb646 100644 --- a/man2/bind.2 +++ b/man2/bind.2 @@ -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"