Wait for asynchronous I/O operations to complete
|Asynchronous I/O operations aren't currently supported.|
#include <aio.h> int aio_suspend( const struct aiocb * const list, int nent, const struct timespec * timeout );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
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.
-1; errno is set.
POSIX 1003.1 AIO