FGetPos Function (ROM Call 0x3DC)

AMS 2.00 or higher files.h

unsigned short FGetPos (FILES *fsPtr);

Return the current file position.

FGetPos returns the current file position (where the next read or write would occur) for the file pointed to by fsPtr.fsPtr is a pointer to a FILES structure previously opened with FOpen.

Note that the FILES structure pointed to by fsPtr must have been previously opened with FOpen.

FGetPos returns the current file position.


See also: FOpen, FSetPos, FEof