Headers aio.h(3HEAD)
NAME
aio.h, aio - asynchronous input and output
SYNOPSIS
#include
DESCRIPTION
The header defines the aiocb structure which
includes the following members:
int aiofildes file descriptor
offt aiooffset file offset
volatile void* aiobuf location of buffer
sizet aionbytes length of transfer
int aioreqprio request priority offset
struct sigevent aiosigevent notification type
int aiolioopcode listio operation
This header also includes the following constants:
AIOALDONE A return value indicating that none of
the requested operations could be can-
celed since they are already complete.
AIOCANCELED A return value indicating that all
requested operations have been canceled.
AIONOTCANCELED A return value indicating that some of
the requested operations could not be
canceled since they are in progress.
LIONOP A liolistio(3C) element operation option
indicating that no transfer is requested.
LIONOWAIT A liolistio() synchronization operation
indicating that the calling thread is to
continue execution while the liolistio()
operation is being performed, and notifi-
cation is to be given when the operation
is complete.
LIOREAD A liolistio() element operation option
requesting a read.
SunOS 5.11 Last change: 5 Feb 2008 1
Headers aio.h(3HEAD)
LIOWAIT A liolistio() synchronization operation
indicating that the calling thread is to
suspend until the liolistio() operation
is complete.
LIOWRITE A liolistio() element operation option
requesting a write.
SEE ALSO
lseek(2), read(2), write(2), fsync(3C), libaio(3LIB),
liolistio(3C)
SunOS 5.11 Last change: 5 Feb 2008 2
|