]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
socket.7: select()/poll()/epoll honor SO_RCVLOWAT since Linux 2.6.28
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 31 May 2019 14:45:51 +0000 (16:45 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 31 May 2019 14:45:51 +0000 (16:45 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/socket.7

index df07572206be8e8f5d2bed63d3e6a96ea8bec24d..30b699a071ecb7ac9793fea46c024cb1151ce6cc 100644 (file)
@@ -764,15 +764,19 @@ fails with the error
 .B SO_RCVLOWAT
 is changeable
 only since Linux 2.4.
-The
-.BR select (2)
+.IP
+Before Linux 2.6.28
+.\" commit c7004482e8dcb7c3c72666395cfa98a216a4fb70
+.BR select (2),
+.BR poll (2),
 and
-.BR poll (2)
-system calls currently do not respect the
+.BR epoll (7)
+did not respect the
 .B SO_RCVLOWAT
 setting on Linux,
-and mark a socket readable when even a single byte of data is available.
-A subsequent read from the socket will block until
+and indicated a socket as readable when even a single byte of data
+was available.
+A subsequent read from the socket would then block until
 .B SO_RCVLOWAT
 bytes are available.
 .\" See http://marc.theaimsgroup.com/?l=linux-kernel&m=111049368106984&w=2