asiowait(2) asiowait(2)NAME asiowait - wait for asynchronous I/O to complete SYNOPSIS #include <sys/types.h> #include <sys/asio.h> int asiowait(); DESCRIPTION asiowait suspends the calling process until it detects the completion of its pending I/O operations initiated with either the asioread or the asiowrite system call. The wait state initiated by asiowait can be interrupted by signals sent to the process that reactivate it. If there are no outstanding requests, control is returned immediately. STATUS MESSAGES AND VALUES The asiowait system call returns 0 upon success or -1 if an error occurs. Upon an error, the value of errno is set to EINTR to indicate that the system call was interrupted by a signal. SEE ALSO asio(2) March 1993 1