summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getsockopt.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/getsockopt.2')
-rw-r--r--lib/libc/sys/getsockopt.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index 0f1a23b..b5bc37b 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -187,13 +187,13 @@ of the destination address.
.Pp
.Dv SO_LINGER
controls the action taken when unsent messages
-are queued on socket and a
+are queued on socket and a
.Xr close 2
is performed.
If the socket promises reliable delivery of data and
.Dv SO_LINGER
is set,
-the system will block the process on the
+the system will block the process on the
.Xr close 2
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
@@ -201,10 +201,10 @@ linger interval, is specified in seconds in the
.Fn setsockopt
call when
.Dv SO_LINGER
-is requested).
+is requested).
If
.Dv SO_LINGER
-is disabled and a
+is disabled and a
.Xr close 2
is issued, the system will process the close in a manner that allows
the process to continue as quickly as possible.
@@ -263,7 +263,7 @@ requested.
The default value for
.Dv SO_RCVLOWAT
is 1.
-If
+If
.Dv SO_RCVLOWAT
is set to a larger value, blocking receive calls normally
wait until they have received the smaller of the low water mark value
@@ -406,7 +406,7 @@ is a file, not a socket.
.It Bq Er ENOPROTOOPT
The option is unknown at the level indicated.
.It Bq Er EFAULT
-The address pointed to by
+The address pointed to by
.Fa optval
is not in a valid part of the process address space.
For
OpenPOWER on IntegriCloud