aboutsummaryrefslogtreecommitdiffstats
path: root/man2/bind.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/bind.2')
-rw-r--r--man2/bind.26
1 files changed, 4 insertions, 2 deletions
diff --git a/man2/bind.2 b/man2/bind.2
index 741fb5d711..4f5e38f4d6 100644
--- a/man2/bind.2
+++ b/man2/bind.2
@@ -71,7 +71,8 @@ bind \- bind a name to a socket
.br
.B #include <sys/socket.h>
.sp
-.BI "int bind(int " sockfd ", struct sockaddr *" my_addr ", socklen_t " addrlen );
+.BI "int bind(int " sockfd ", const struct sockaddr *" my_addr \
+", socklen_t " addrlen );
.SH DESCRIPTION
.B bind
gives the socket
@@ -81,7 +82,8 @@ the local address
.I my_addr
is
.I addrlen
-bytes long. Traditionally, this is called \(lqassigning a name to a socket.\(rq
+bytes long.
+Traditionally, this is called \(lqassigning a name to a socket.\(rq
When a socket is created with
.BR socket (2),
it exists in a name space (address family) but has no name assigned.