VFGetFileSize(W)

C Specification


#include <revolution/vf.h>

s32 VFGetFileSize( const char* path );
s32 VFGetFileSizeW( const VFWchar* path );

Arguments

path The address storing the path and file name.
Either a full or relative path may be specified.

Return Values

Success: File size (0 or higher)
Failure: -1 (at this time, VF errors can be verified with  VFGetLastError)

Description

Gets the file size in bytes.

See Also

Revision History

2006/05/31
2007/05/08 Added explanation of Return Values.


CONFIDENTIAL