summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2017-07-31 22:36:03 +0000
committerasomers <asomers@FreeBSD.org>2017-07-31 22:36:03 +0000
commit2b7b4e5952e98756d2e4d3e2b5e6c642f8571ad1 (patch)
treec946b6b57c1105960dc2b50853af30b6e782a06c /share
parentec7cbea21848f8e61dc1b2954267c47153b2ca2a (diff)
downloadFreeBSD-src-2b7b4e5952e98756d2e4d3e2b5e6c642f8571ad1.zip
FreeBSD-src-2b7b4e5952e98756d2e4d3e2b5e6c642f8571ad1.tar.gz
Clarify usage of aio(4) with kqueue(2)
Reviewed by: jhb MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D11299
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/aio.420
1 files changed, 18 insertions, 2 deletions
diff --git a/share/man/man4/aio.4 b/share/man/man4/aio.4
index eb9bfff..f2db1031e 100644
--- a/share/man/man4/aio.4
+++ b/share/man/man4/aio.4
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 15, 2016
+.Dd June 22, 2017
.Dt AIO 4
.Os
.Sh NAME
@@ -59,11 +59,27 @@ field which can be used to request notification when an operation completes.
For
.Dv SIGEV_KEVENT
notifications,
-the posted kevent will contain:
+the
+.Va sigevent
+.Ap
+s
+.Va sigev_notify_kqueue
+field should contain the descriptor of the kqueue that the event should be attached
+to, its
+.Va sigev_notify_kevent_flags
+field may contain
+.Dv EV_ONESHOT ,
+.Dv EV_CLEAR , and/or
+.Dv EV_DISPATCH , and its
+.Va sigev_notify
+field should be set to
+.Dv SIGEV_KEVENT .
+The posted kevent will contain:
.Bl -column ".Va filter"
.It Sy Member Ta Sy Value
.It Va ident Ta asynchronous I/O control buffer pointer
.It Va filter Ta Dv EVFILT_AIO
+.It Va flags Ta Dv EV_EOF
.It Va udata Ta
value stored in
.Va aio_sigevent.sigev_value
OpenPOWER on IntegriCloud