summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>2003-08-05 07:12:49 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>2003-08-05 07:12:49 +0000
commit95aab9cc499c1498eb30cb4c5b79e289e581f48f (patch)
tree258f37b0d41286f68a5be4b2d848607075e81ff0 /lib/libc
parente04e4bacf6681a03f6eaa3a289cede60d5df0c5e (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/kqueue.29
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2
index 93d5c785c002..468cfca894c3 100644
--- a/lib/libc/sys/kqueue.2
+++ b/lib/libc/sys/kqueue.2
@@ -265,6 +265,13 @@ When the last writer disconnects, the filter will set EV_EOF in
This may be cleared by passing in EV_CLEAR, at which point the
filter will resume waiting for data to become available before
returning.
+.It "BPF devices"
+Returns when the BPF buffer is full, the BPF timeout has expired, or
+when the BPF has
+.Dq immediate mode
+enabled and there is any data to read;
+.Va data
+contains the number of bytes available.
.El
.It EVFILT_WRITE
Takes a descriptor as the identifier, and returns whenever
@@ -274,7 +281,7 @@ and fifos,
will contain the amount of space remaining in the write buffer.
The filter will set EV_EOF when the reader disconnects, and for
the fifo case, this may be cleared by use of EV_CLEAR.
-Note that this filter is not supported for vnodes.
+Note that this filter is not supported for vnodes or BPF devices.
.Pp
For sockets, the low water mark and socket error handling is
identical to the EVFILT_READ case.