aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/aio.4
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2017-06-23 00:40:09 +0000
committerAlan Somers <asomers@FreeBSD.org>2017-06-23 00:40:09 +0000
commit09986d3bd2a01942e7542f1b84a652b4a4ca3d42 (patch)
tree56e64b7498b4224854193a0742b0e5419822f67a /share/man/man4/aio.4
parent514fd0b8d3b8a72a9b0aaf7a534fc974161d8dfa (diff)
downloadsrc-09986d3bd2a01942e7542f1b84a652b4a4ca3d42.tar.gz
src-09986d3bd2a01942e7542f1b84a652b4a4ca3d42.zip
Clarify usage of aio(4) with kqueue(2)
Reviewed by: jhb MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D11299
Notes
Notes: svn path=/head/; revision=320255
Diffstat (limited to 'share/man/man4/aio.4')
-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 048561d463e0..0ea728499d13 100644
--- a/share/man/man4/aio.4
+++ b/share/man/man4/aio.4
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 21, 2016
+.Dd June 22, 2017
.Dt AIO 4
.Os
.Sh NAME
@@ -161,11 +161,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