Determine current position within a PhysicsFS filehandle.
Defined in <physfs.h>
PHYSFS_sint64 PHYSFS_tell(PHYSFS_File *handle);| PHYSFS_File * | handle | handle returned from PHYSFS_open*(). |
(PHYSFS_sint64) Returns offset in bytes from start of file. -1 if error occurred. Use PHYSFS_getLastErrorCode() to obtain the specific error.
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.