|| FreeBSD System Calls Manual
retrieve error status of asynchronous I/O operation (REALTIME)
Standard C Library (libc, -lc)
#include < aio.h>
aio_error( const struct aiocb *iocb);
aio_error() system call returns the error status of the asynchronous I/O request associated with the structure pointed to by
If the asynchronous I/O request has completed successfully,
() returns 0. If the request has not yet completed,
is returned. If the request has completed unsuccessfully the error status is returned as described in
. On failure,
to indicate the error condition.
() system call will fail if:
iocb argument does not reference an outstanding asynchronous I/O request.
aio_error() system call is expected to conform to the IEEE Std 1003.1 (“POSIX.1”) standard.
aio_error() system call first appeared in
AUTHORS This manual page was written by