FGetSize Function (ROM Call 0x3DD)

AMS 2.00 or higher files.h

unsigned short FGetSize (FILES *fsPtr);

Return the number of bytes currently stored in an opened file.

FGetSize returns the number of bytes currently stored in the opened file fsPtr.

The FILES structure pointed to by fsPtr must have been previously opened with FOpen (either in read or in write mode).


See also: FOpen, FSetSize