aboutsummaryrefslogtreecommitdiff
path: root/lib/libsys
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2025-07-26 21:18:47 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2025-07-26 21:18:47 +0000
commit122b2a3530f8baab56d196b51724cc3ddd38abd2 (patch)
tree6585da474332faf692ec91aacb2ccdc76b49caaf /lib/libsys
parentebc6ff8db17683b566d49fe89a43a668d3d67915 (diff)
Diffstat (limited to 'lib/libsys')
-rw-r--r--lib/libsys/getsockopt.29
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libsys/getsockopt.2 b/lib/libsys/getsockopt.2
index 8839b61597a2..3867824681d7 100644
--- a/lib/libsys/getsockopt.2
+++ b/lib/libsys/getsockopt.2
@@ -593,6 +593,15 @@ specified amount of time has elapsed since the initial call to
If
.Fa sp_fd
is -1, the socket will be unspliced immediately.
+A successful
+.Xr select 2 ,
+.Xr poll 2 ,
+or
+.Xr kqueue 2
+operation testing the ability to read from the source socket indicates
+that the splicing has terminated and at least one byte is available for
+reading.
+When one of the sockets gets closed, splicing ends.
.Pp
When passed to
.Fn getsockopt ,