Tao.PhysFs SDK Documentation

Fs.PHYSFS_tell Method 

Determine current position within a PhysicsFS filehandle.

[Visual Basic]
Public Shared Function PHYSFS_tell( _
   ByVal handle As IntPtr _
) As Long
[C#]
public static long PHYSFS_tell(
   IntPtr handle
);

Parameters

handle
handle returned from PHYSFS_open*().

Return Value

offset in bytes from start of file. -1 if error occurred. Specifics of the error can be gleaned from PHYSFS_getLastError.

See Also

Fs Class | Tao.PhysFs Namespace | PHYSFS_seek