aio_error
![]() |
![]() |
![]() |
![]() |
aio_error()
Get the error status for an asynchronous I/O operation
![]() |
Asynchronous I/O operations aren't currently supported. |
Synopsis:
#include <aio.h> int aio_error( const struct aiocb * aiocbptr );
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
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.
Returns:
-1; errno is set.
Errors:
- ENOSYS
- The aio_error() function isn't currently supported.
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
![]() |
![]() |
![]() |
![]() |
![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
