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>
This commit is contained in:
Michael Kerrisk 2020-04-25 09:02:18 +02:00
parent ab08f6698e
commit c6364a1b33
5 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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