git: f756c911681d - main - kqueue.2: Document the fact that EVFILT_READ can be used on kqueues

Mark Johnston markj at FreeBSD.org
Tue Sep 7 15:26:00 UTC 2021


The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=f756c911681d7730ca34c23b69dbdb6143965858

commit f756c911681d7730ca34c23b69dbdb6143965858
Author:     Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-09-07 15:17:33 +0000
Commit:     Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-09-07 15:19:29 +0000

    kqueue.2: Document the fact that EVFILT_READ can be used on kqueues
    
    Reviewed by:    bcr, kib
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D31864
---
 lib/libc/sys/kqueue.2 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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


More information about the dev-commits-src-all mailing list