Module nix::sys::aio [] [src]

Structs

AioCb

The basic structure used by all aio functions. Each aiocb represents one I/O request.

Enums

AioCancelStat

Return values for AioCb::cancel and aio_cancel_all

AioFsyncMode

Mode for AioCb::fsync. Controls whether only data or both data and metadata are synced.

LioMode

Mode for lio_listio.

LioOpcode

When used with lio_listio, determines whether a given aiocb should be used for a read operation, a write operation, or ignored. Has no effect for any other aio functions.

Functions

aio_cancel_all

Cancels outstanding AIO requests. All requests for fd will be cancelled.

aio_suspend

Suspends the calling process until at least one of the specified AioCbs has completed, a signal is delivered, or the timeout has passed. If timeout is None, aio_suspend will block indefinitely.

lio_listio

Submits multiple asynchronous I/O requests with a single system call. The order in which the requests are carried out is not specified.