#include <revolution/vf.h>
VFErr VFGetFileSizeU32( const char* path, u32* file_size );
VFErr VFGetFileSizeU32W( const VFWchar* path, u32* file_size );
path |
The address that stores path and file name. Either a full or relative path may be specified. |
file_size |
Pointer to a u32-type variable. The file size in bytes is returned. |
Returns 0 when successful.
Otherwise, returns VFErr (non-zero).
Gets the file size in bytes in a 32-bit unsigned integer.
VFGetFileSize, VFGetFileSizeByFd, VFGetFileSizeU32ByFd
2008/12/16 Initial version.
CONFIDENTIAL