diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-04-25 09:02:18 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-04-25 09:02:18 +0200 |
| commit | c6364a1b33cb090394f1befe2f8643ca2225216a (patch) | |
| tree | 3a018d37fd8818f4df41daa92e24125244d29eb9 | |
| parent | ab08f6698e57fb4dc5f666fb463c969efea4cc86 (diff) | |
| download | man-pages-c6364a1b33cb090394f1befe2f8643ca2225216a.tar.gz | |
io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: Change uses of aio_context_t to io_context_t
Reported-by: Andi Kleen <andi@firstfloor.org>
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man2/io_cancel.2 | 2 | ||||
| -rw-r--r-- | man2/io_destroy.2 | 2 | ||||
| -rw-r--r-- | man2/io_getevents.2 | 2 | ||||
| -rw-r--r-- | man2/io_setup.2 | 2 | ||||
| -rw-r--r-- | man2/io_submit.2 | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/man2/io_cancel.2 b/man2/io_cancel.2 index 6920f20389..2aa68f69ee 100644 --- a/man2/io_cancel.2 +++ b/man2/io_cancel.2 @@ -11,7 +11,7 @@ io_cancel \- cancel an outstanding asynchronous I/O operation .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" .PP -.BI "int io_cancel(aio_context_t " ctx_id ", struct iocb *" iocb , +.BI "int io_cancel(io_context_t " ctx_id ", struct iocb *" iocb , .BI " struct io_event *" result ); .fi .PP diff --git a/man2/io_destroy.2 b/man2/io_destroy.2 index a26c9bfb56..a0599abf7b 100644 --- a/man2/io_destroy.2 +++ b/man2/io_destroy.2 @@ -11,7 +11,7 @@ io_destroy \- destroy an asynchronous I/O context .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" .PP -.BI "int io_destroy(aio_context_t " ctx_id ); +.BI "int io_destroy(io_context_t " ctx_id ); .fi .PP .IR Note : diff --git a/man2/io_getevents.2 b/man2/io_getevents.2 index 0eb4b385e3..0c85bfcfff 100644 --- a/man2/io_getevents.2 +++ b/man2/io_getevents.2 @@ -12,7 +12,7 @@ io_getevents \- read asynchronous I/O events from the completion queue .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" .BR "#include <linux/time.h>" " /* Defines 'struct timespec' */" .PP -.BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr , +.BI "int io_getevents(io_context_t " ctx_id ", long " min_nr ", long " nr , .BI " struct io_event *" events \ ", struct timespec *" timeout ); .fi diff --git a/man2/io_setup.2 b/man2/io_setup.2 index f96dc4c941..b96fe29128 100644 --- a/man2/io_setup.2 +++ b/man2/io_setup.2 @@ -11,7 +11,7 @@ io_setup \- create an asynchronous I/O context .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" .PP -.BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp ); +.BI "int io_setup(unsigned " nr_events ", io_context_t *" ctx_idp ); .fi .PP .IR Note : diff --git a/man2/io_submit.2 b/man2/io_submit.2 index 3ab73260f0..0c41fcb20e 100644 --- a/man2/io_submit.2 +++ b/man2/io_submit.2 @@ -12,7 +12,7 @@ io_submit \- submit asynchronous I/O blocks for processing .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" .PP -.BI "int io_submit(aio_context_t " ctx_id ", long " nr \ +.BI "int io_submit(io_context_t " ctx_id ", long " nr \ ", struct iocb **" iocbpp ); .fi .PP |
