summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkbyanc <kbyanc@FreeBSD.org>2002-11-01 21:27:59 +0000
committerkbyanc <kbyanc@FreeBSD.org>2002-11-01 21:27:59 +0000
commitc70af01e8027513cb16aa9d60244c105336fe3e6 (patch)
tree75bdbba0cb4efffc7b7ecf3d41097ddbf79ca0f5 /lib
parent678a0e633139a3b295d83cad803fdd19b2a492b9 (diff)
downloadFreeBSD-src-c70af01e8027513cb16aa9d60244c105336fe3e6.zip
FreeBSD-src-c70af01e8027513cb16aa9d60244c105336fe3e6.tar.gz
Track the number of non-data chararacters stored in socket buffers so that
the data value returned by kevent()'s EVFILT_READ filter on non-TCP sockets accurately reflects the amount of data that can be read from the sockets by applications. PR: 30634 Reviewed by: -net, -arch Sponsored by: NTT Multimedia Communications Labs MFC after: 2 weeks
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/kqueue.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2
index e7cde20..0dae6b1 100644
--- a/lib/libc/sys/kqueue.2
+++ b/lib/libc/sys/kqueue.2
@@ -226,7 +226,7 @@ and specifying the new low water mark in
.Va data .
On return,
.Va data
-contains the number of bytes in the socket buffer.
+contains the number of bytes of protocol data available to read.
.Pp
If the read direction of the socket has shutdown, then the filter
also sets EV_EOF in
OpenPOWER on IntegriCloud