1
.TH aio_error 3 2002-09-12 "Linux 2.4" Linux AIO"
3
aio_error \- Getting the Status of AIO Operations
12
.BI "int aio_error (const struct aiocb *aiocbp)"
17
determines the error state of the request described by the
19
variable pointed to by
23
When the operation is performed truly asynchronously (as with
31
), one sometimes needs to know whether a
32
specific request already terminated and if so, what the result was.
33
When the sources are compiled with
34
.IR "_FILE_OFFSET_BITS == 64"
35
this function is in fact
37
since the LFS interface transparently replaces the normal implementation.
39
If the request has not yet terminated the value returned is always
41
. Once the request has terminated the value
45
if the request completed successfully or it returns the value which would be stored in the
47
variable if the request would have been done using
57
if it is not implemented. It
64
refer to an asynchronous operation whose return status is not yet known.