Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

aio_return()

Get the return status for an asynchronous I/O operation


Note: Asynchronous I/O operations aren't currently supported.

Synopsis:

#include <aio.h>

ssize_t aio_return( 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_return() function returns the return status associated with the aiocb structure referenced by the aiocbptr argument. The return status for an asynchronous I/O operation is the value that's returned by the corresponding read(), write(), or fsync() operation.

Returns:

-1; errno is set.

Errors:

ENOSYS
The aio_return() function function isn't currently supported.

Classification:

POSIX 1003.1 AIO

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes