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
This commit is contained in:
Mark Johnston 2021-09-07 11:17:33 -04:00
parent 353783964c
commit f756c91168

View file

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