lwait

Waits for I/O on a specific file to complete.

Format

#include  <stdio.h>

int lwait  (int fd);

Argument

fd
A file descriptor corresponding to an open file.

Description

This function is used primarily to wait for completion of pending asynchronous I/O.

Return Values
Indicates successful completion. 
-1  Indicates an error. 


Previous Page | Next Page | Table of Contents | Index