Table of Contents
gfs_wait - wait for a non-blocking call to complete
#include <gfs.h>
int gfs_wait(gfs_handle handle);
gfs_wait blocks until the non-blocking call associated with
handle completes.
If the non-blocking call associated with handle completes
successfully, gfs_wait returns the number of bytes
transferred by the call. If the non-blocking call fails,
gfs_wait returns -1, and sets gfs_errno appropriately. See
the man pages for the non-blocking calls for further
information on potential errors.
gfs_wait must be called before handle may be used in another
non-blocking call.
GFS_EINVAL
handle is not a valid handle.
Table of Contents