summaryrefslogtreecommitdiff
path: root/lib/libc/sys/bind.2
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2002-07-15 19:56:24 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2002-07-15 19:56:24 +0000
commite812f24f6d32845e66e6641cfaafe9f300564f41 (patch)
treec83f53e929cf364c45a86479319b140344b4136c /lib/libc/sys/bind.2
parentc98a4bf3fb65e38ed22ef8981801f0b7b77a705c (diff)
Notes
Diffstat (limited to 'lib/libc/sys/bind.2')
-rw-r--r--lib/libc/sys/bind.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2
index d9507bff8860..c0afbd7c7b1c 100644
--- a/lib/libc/sys/bind.2
+++ b/lib/libc/sys/bind.2
@@ -46,14 +46,17 @@
.Ft int
.Fn bind "int s" "const struct sockaddr *addr" "socklen_t addrlen"
.Sh DESCRIPTION
-.Fn Bind
+The
+.Fn bind
+function
assigns the local protocol address to a socket.
When a socket is created
with
.Xr socket 2
it exists in an address family space but has no protocol address assigned.
-.Fn Bind
-requests that
+The
+.Fn bind
+function requests that
.Fa addr
be assigned to the socket.
.Sh NOTES