aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsockopt.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commit2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/getsockopt.2
parenta1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff)
Notes
Diffstat (limited to 'lib/libc/sys/getsockopt.2')
-rw-r--r--lib/libc/sys/getsockopt.210
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index 8505f491b027..a6ef175ac608 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -49,9 +49,11 @@
.Ft int
.Fn setsockopt "int s" "int level" "int optname" "const void *optval" "socklen_t optlen"
.Sh DESCRIPTION
-.Fn Getsockopt
+The
+.Fn getsockopt
and
.Fn setsockopt
+system calls
manipulate the
.Em options
associated with a socket. Options may exist at multiple
@@ -164,7 +166,7 @@ enables debugging in the underlying protocol modules.
indicates that the rules used in validating addresses supplied
in a
.Xr bind 2
-call should allow reuse of local addresses.
+system call should allow reuse of local addresses.
.Dv SO_REUSEPORT
allows completely duplicate bindings by multiple processes
if they all set
@@ -199,7 +201,7 @@ attempt until it is able to transmit the data or until it decides it
is unable to deliver the information (a timeout period, termed the
linger interval, is specified in seconds in the
.Fn setsockopt
-call when
+system call when
.Dv SO_LINGER
is requested).
If
@@ -315,7 +317,7 @@ must be called on the socket before
trying to install the filter on it,
or else the
.Fn setsockopt
-call will fail.
+system call will fail.
.Bd -literal
struct accept_filter_arg {
char af_name[16];