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