Is used to wait for I/O on a specific file to complete. Syntax: #include <stdio.h> int fwait(FILE *fp);