Synopsis #
Header: fxcg/file.h
Syscall index: 0x1DAB
Function signature: int Bfile_TellFile_OS(int handle)
Gets the current position of the file handler.
Parameters #
- handle: File handle as returned by Bfile_OpenFile_OS.
Returns #
Returns the current position in the file handle.
Comments #
Use Bfile_SeekFile_OS to set the current file handle position.
Using Bfile functions while user timers are installed can cause SYSTEM ERRORs and other undefined behavior, especially with functions that change data on the file system. Make sure to stop and uninstall all timers before using Bfile functions (and optionally restore them later). See Incompatibility_between_Bfile_Syscalls_and_Timers for more information.