| Main index | Section 2 | 日本語 | Options |
#include <aio.h>
If timeout is a non-NULL pointer, it specifies a maximum interval to wait for a asynchronous I/O request to complete. If timeout is a NULL pointer, aio_waitcomplete() waits indefinitely. To effect a poll, the timeout argument should be non-NULL, pointing to a zero-valued timeval structure.
The aio_waitcomplete() system call also serves the function of aio_return(), thus aio_return() should not be called for the control block returned in iocbp.
| [EINVAL] | |
| The specified time limit is invalid. | |
| [EAGAIN] | |
| The process has not yet called aio_read() or aio_write(). | |
| [EINTR] | |
| A signal was delivered before the timeout expired and before any asynchronous I/O requests completed. | |
| [EWOULDBLOCK]
[EINPROGRESS] | |
| The specified time limit expired before any asynchronous I/O requests completed. | |
| AIO_WAITCOMPLETE (2) | March 21, 2016 |
| Main index | Section 2 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
