fwait

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

Format

#include  <stdio.h>

int fwait  (FILE *fp);

Argument

fp
A file pointer 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