Mount Fuji Engine  0.8b
MF_API int64 MFFileSystem_GetSize ( const char *  pFilename)

Gets the size of a file.

Parameters
pFilenameThe name of the file to find the size.
Returns
The size of the file in bytes. If the file does not exist, MFFileSystem_GetSize returns 0.
Remarks
If the file does not exist, MFFileSystem_GetSize returns 0, however, a zero length file will also return 0. Use MFFileSystem_Exists to correctly test if a file exists. MFFileSystem_GetSize may also return -1 if the files length is not known, for instance, an endless or unknown length network stream.