Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103805350
D27472.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D27472.diff
View Options
Index: lib/libc/sys/getsockopt.2
===================================================================
--- lib/libc/sys/getsockopt.2
+++ lib/libc/sys/getsockopt.2
@@ -28,7 +28,7 @@
.\" @(#)getsockopt.2 8.4 (Berkeley) 5/2/95
.\" $FreeBSD$
.\"
-.Dd June 3, 2020
+.Dd November 29, 2020
.Dt GETSOCKOPT 2
.Os
.Sh NAME
@@ -248,13 +248,18 @@
is set,
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
-linger interval, is specified in seconds in the
+attempt until it is able to transmit the data or until the timeout
+period has elapsed if the data cannot be delivered.
+This timeout period, termed the linger interval, is specified in seconds
+in the
.Fn setsockopt
system call when
.Dv SO_LINGER
-is requested).
+is requested.
+A linger interval of 0 may be specified to indicate that the system should
+terminate the socket without waiting when a
+.Xr close 2
+is issued.
If
.Dv SO_LINGER
is disabled and a
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 5:00 PM (21 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14945608
Default Alt Text
D27472.diff (1 KB)
Attached To
Mode
D27472: getsockopt(2): describe SO_LINGER w/ an interval of 0
Attached
Detach File
Event Timeline
Log In to Comment