| FEof | Function (ROM Call 0x3D8)

AMS 2.00 or higher | files.h

short FEof (FILES *fsPtr);

Returns TRUE if a file is at the end.

FEof returns TRUE if the file fsPtr is at the end of File mark, and FALSE otherwise. fsPtr must be a pointer to a FILES structure opened with FOpen.
Note that this is not an error condition (as returned by FStatus) and can be changed not only by reading from a file but also by changing the current file position.

See also: FOpen, FSetPos, FGetPos