feof---test for end of file
#include <stdio.h> int feof(FILE *fp);
feof tests whether or not the end of the file identified by fp
has been reached.
0 if the end of file has not yet been reached; if
at end of file, the result is nonzero.
feof is required by ANSI C.
No supporting OS subroutines are required.
Go to the first, previous, next, last section, table of contents.