aio.h - asynchronous input and output (REALTIME)
#include <aio.h>
The <aio.h> header defines the aiocb structure which includes at least the following members:int aio_fildes file descriptor off_t aio_offset file offset volatile void* aio_buf location of buffer size_t aio_nbytes length of transfer int aio_reqprio request priority offset struct sigevent aio_sigevent signal number and value int aio_lio_opcode operation to be performed
This header also includes the following constants:
AIO_CANCELED AIO_NOTCANCELED AIO_ALLDONE LIO_WAIT LIO_NOWAIT LIO_READ LIO_WRITE LIO_NOPThe following are declared as functions and may also be declared as macros. Function prototypes must be provided for use with an ISO C compiler.
int aio_cancel(int, struct aiocb *); int aio_error(const struct aiocb *); int aio_fsync(int, struct aiocb *); int aio_read(struct aiocb *); ssize_t aio_return(struct aiocb *); int aio_suspend(const struct aiocb *const[], int, const struct timespec *); int aio_write(struct aiocb *); int lio_listio(int, struct aiocb *const[], int, struct sigevent *);
Inclusion of the <aio.h> header may make visible symbols defined in the headers <fcntl.h>, <signal.h>, <sys/types.h> and <time.h>.
None.
None.
fsync(), lseek(), read(), write(), <fcntl.h>, <signal.h>, <sys/types.h>, <time.h>.