summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/bind.2
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2002-07-15 19:56:24 +0000
committerkeramida <keramida@FreeBSD.org>2002-07-15 19:56:24 +0000
commitc6226499e948e58cd71ccdefc315194a7afe80b4 (patch)
treec83f53e929cf364c45a86479319b140344b4136c /lib/libc/sys/bind.2
parent13b1a9cedc7ac32c55a9f3329ccdee698f421750 (diff)
downloadFreeBSD-src-c6226499e948e58cd71ccdefc315194a7afe80b4.zip
FreeBSD-src-c6226499e948e58cd71ccdefc315194a7afe80b4.tar.gz
The .Fn function
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 d9507bf..c0afbd7 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
OpenPOWER on IntegriCloud