IO_SUBMITSection: Linux Programmer's Manual (2)Updated: 2003-02-21 |
IO_SUBMITSection: Linux Programmer's Manual (2)Updated: 2003-02-21 |
#include <linux/aio.h>
io_submit queues nr I/O request blocks for processing in the AIO context ctx_id. iocbpp should be an array of nr AIO request blocks, which will be submitted to context ctx_id.
io_submit returns the number of iocbs submitted and 0 if nr is zero.
io_submit is Linux specific and should not be used in programs that are intended to be portable.
The asynchronous I/O system calls first appeared in Linux 2.5, August 2002.
io_setup(2), io_destroy(2), io_getevents(2), io_cancel(2).
The asynchronous I/O system calls were written by Benjamin LaHaise.