mirror of https://github.com/mkerrisk/man-pages
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:
parent
ab08f6698e
commit
c6364a1b33
|
@ -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
|
||||
|
|
|
@ -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 :
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 :
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue