![]() |
![]() |
![]() |
Get the error status for an asynchronous I/O operation
#include <aio.h> int aio_error( const struct aiocb * aiocbptr );
libc
The aio_error() function returns the error status associated with the aiocb structure referenced by the aiocbptr argument. The error status for an asynchronous I/O operation is the errno value that's set by the corresponding read(), write(), or fsync() operation.
![]() |
Asynchronous I/O operations aren't currently supported. |
-1, and errno is set.
POSIX 1003.1 (Realtime Extensions)
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |