feof()

This is a file I/O function, also hardware dependent. It is not implemented in this Compiler.

Syntax
  #include <stdio.h>

  
  int feof(FILE *f);

  
Description

feof() tests whether previous I/O calls on file f tried to do anything beyond the end of the file.

Note: Calling clearerr() or fseek() clears the file's end-of-file flag; therefore feof() returns 0.
Return

Zero, if not at the end of the file; EOF otherwise.