FEOF(3)

NAME
4.7 `feof'--test for end of file

SYNOPSIS
     #include <stdio.h>
     int feof(FILE *FP);

DESCRIPTION
`feof' tests whether or not the end of the file identified by FP has been reached.

RETURNS
`feof' returns `0' if the end of file has not yet been reached; if at end of file, the result is nonzero.

PORTABILITY
`feof' is required by ANSI C.
   No supporting OS subroutines are required.

SEE ALSO
feof is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.