www.LinuxHowtos.org
io_setup
Section: C Library Functions (3)Updated: 202-0-11
Index Return to Main Contents
NAME
io_setup - create an asynchronous I/O contextLIBRARY
Asynchronous I/O library (libaio,~-laio)SYNOPSIS
#include <libaio.h> long~io_setup(unsigned~int~n, io_context_t~*ctx_idp);
DESCRIPTION
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).STANDARDS
libaio.HISTORY
libaio.SEE ALSO
io_setup(2), io(3), aio(7)