diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-09-07 15:17:33 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-09-14 12:50:31 +0000 |
commit | 603c9bb0295b2219f0b83f7079908e6349724816 (patch) | |
tree | 4590bd659c0070034b2857b12bd150d7d5e066bc | |
parent | 7ca6b62f8dcb96bd8100b7dd73a43c0008470f66 (diff) | |
download | src-603c9bb0295b2219f0b83f7079908e6349724816.tar.gz src-603c9bb0295b2219f0b83f7079908e6349724816.zip |
kqueue.2: Document the fact that EVFILT_READ can be used on kqueues
Reviewed by: bcr, kib
Sponsored by: The FreeBSD Foundation
(cherry picked from commit f756c911681d7730ca34c23b69dbdb6143965858)
-rw-r--r-- | lib/libc/sys/kqueue.2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 9be380bb5d99..ed737c626ef8 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 26, 2021 +.Dd September 7, 2021 .Dt KQUEUE 2 .Os .Sh NAME @@ -346,6 +346,10 @@ Returns when the counter is greater than 0; .Va data contains the counter value, which must be cast to .Vt uint64_t . +.It Kqueues +Returns when pending events are present on the queue; +.Va data +contains the number of events available. .El .It Dv EVFILT_WRITE Takes a descriptor as the identifier, and returns whenever |