aio_suspend()

Wait for asynchronous I/O operations to complete


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

Synopsis:

#include <aio.h>

int aio_suspend( const struct aiocb * const list[],
                 int nent,
                 const struct timespec * timeout );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The aio_suspend() function suspends the calling thread until at least one of the asynchronous I/O operations referenced by the list argument has completed, until a signal interrupts the function, or, if timeout isn't NULL, until the time interval specified by timeout has passed.

Returns:

-1; errno is set.

Errors:

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

Classification:

POSIX 1003.1 AIO

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