[Previous] [Contents] [Next]

aio_suspend()

Wait for asynchronous I/O operations to complete

Synopsis:

#include <aio.h>

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

Library:

libc

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.


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

Returns:

-1, and errno is set.

Errors:

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

Classification:

POSIX 1003.1 (Realtime Extensions)

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

[Previous] [Contents] [Next]