summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getsockopt.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/getsockopt.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
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 8505f49..a6ef175 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];
OpenPOWER on IntegriCloud