Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2021 12:52:10 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 603c9bb0295b - stable/13 - kqueue.2: Document the fact that EVFILT_READ can be used on kqueues
Message-ID:  <202109141252.18ECqAU7016139@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj:

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

commit 603c9bb0295b2219f0b83f7079908e6349724816
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-09-07 15:17:33 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-09-14 12:50:31 +0000

    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)
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109141252.18ECqAU7016139>