Asynchronous I/O Subroutines

The 64-bit subroutines that are listed in this section along with their purpose are provided for performing AIO.

Subroutine Purpose
aio_cancel or aio_cancel64 Cancels one or more outstanding AIO requests.
aio_error or aio_error64 Retrieves the error status of an AIO request.
aio_fsync Synchronizes asynchronous files.
lio_listio or lio_listio64 Initiates a list of AIO requests with a single call.
aio_nwait Suspends the calling process until n AIO requests are completed.
aio_read or aio_read64 Reads asynchronously from a file.
aio_return or aio_return64 Retrieves the return status of an AIO request.
aio_suspend or aio_suspend64 Suspends the calling process until one or more AIO requests finishes.
aio_write or aio_write64 Writes asynchronously to a file.