io_setup3
Create an asynchronous i/o context
Usage
#include <libaio.h>
long io_setup(unsigned int n, io_context_t *ctx_idp);
Library
Asynchronous I/O library (libaio, -laio)
Overview
io_setup() creates an asynchronous I/O context suitable for concurrently processing n operations.
Return value
On success, io_setup() returns 0. On error, a negative error code is returned to indicate the error.
Errors
See io_setup(2).