Name

feof function — Tests for end-of-file

Synopsis

int feof(FILE* stream)

The feof function returns true (nonzero) if stream is positioned at the end-of-file, or false (0) otherwise.