Check for end-of-file state on a PhysicsFS filehandle.
Defined in <physfs.h>
int PHYSFS_eof(PHYSFS_File *handle);| PHYSFS_File * | handle | handle returned from PHYSFS_openRead(). |
(int) Returns nonzero if EOF, zero if not.
Determine if the end of file has been reached in a PhysicsFS filehandle.
Multiple threads can not operate on the same PHYSFS_File at the same time, but they can safely operate on different ones simultaneously.
This function is available since PhysicsFS 1.0.0.