diff options
author | 2015-01-20 11:56:33 +0000 | |
---|---|---|
committer | 2015-01-20 11:56:33 +0000 | |
commit | 5c10d97d1a8f8094759d9ba10fab70af0d940b3d (patch) | |
tree | 6d262bf999fbeae0c54badeb653e228fc8bd3641 | |
parent | typo in comment ;) ok nicm (diff) | |
download | wireguard-openbsd-5c10d97d1a8f8094759d9ba10fab70af0d940b3d.tar.xz wireguard-openbsd-5c10d97d1a8f8094759d9ba10fab70af0d940b3d.zip |
We do not support AIO, so comment it out in the kqueue(2) manpage for now.
OK jmc@ guenther@
-rw-r--r-- | lib/libc/sys/kqueue.2 | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index 3de67750dee..9605e0991a8 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kqueue.2,v 1.29 2014/01/21 03:15:45 schwarze Exp $ +.\" $OpenBSD: kqueue.2,v 1.30 2015/01/20 11:56:33 reyk Exp $ .\" .\" Copyright (c) 2000 Jonathan Lemon .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/lib/libc/sys/kqueue.2,v 1.18 2001/02/14 08:48:35 guido Exp $ .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: January 20 2015 $ .Dt KQUEUE 2 .Os .Sh NAME @@ -302,32 +302,32 @@ For sockets, the low water mark and socket error handling is identical to the .Dv EVFILT_READ case. -.It Dv EVFILT_AIO -The sigevent portion of the AIO request is filled in, with -.Va sigev_notify_kqueue -containing the descriptor of the kqueue that the event should -be attached to, -.Va sigev_value -containing the udata value, and -.Va sigev_notify -set to -.Dv SIGEV_KEVENT . -When the aio_* function is called, the event will be registered -with the specified kqueue, and the -.Va ident -argument set to the -.Li struct aiocb -returned by the aio_* function. -The filter returns under the same conditions as aio_error. -.Pp -Alternatively, a kevent structure may be initialized, with -.Va ident -containing the descriptor of the kqueue, and the -address of the kevent structure placed in the -.Va aio_lio_opcode -field of the AIO request. -However, this approach will not work on architectures with 64-bit pointers, -and should be considered deprecated. +.\".It Dv EVFILT_AIO +.\"The sigevent portion of the AIO request is filled in, with +.\".Va sigev_notify_kqueue +.\"containing the descriptor of the kqueue that the event should +.\"be attached to, +.\".Va sigev_value +.\"containing the udata value, and +.\".Va sigev_notify +.\"set to +.\".Dv SIGEV_KEVENT . +.\"When the aio_* function is called, the event will be registered +.\"with the specified kqueue, and the +.\".Va ident +.\"argument set to the +.\".Li struct aiocb +.\"returned by the aio_* function. +.\"The filter returns under the same conditions as aio_error. +.\".Pp +.\"Alternatively, a kevent structure may be initialized, with +.\".Va ident +.\"containing the descriptor of the kqueue, and the +.\"address of the kevent structure placed in the +.\".Va aio_lio_opcode +.\"field of the AIO request. +.\"However, this approach will not work on architectures with 64-bit pointers, +.\"and should be considered deprecated. .It Dv EVFILT_VNODE Takes a file descriptor as the identifier and the events to watch for in .Va fflags , |