VFGetFileSizeU32(W)

Syntax


#include <revolution/vf.h>

VFErr VFGetFileSizeU32( const char* path, u32* file_size );
VFErr VFGetFileSizeU32W( const VFWchar* path, u32* file_size );

Arguments

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.

Return Values

Returns 0 when successful.
Otherwise, returns VFErr (non-zero).

Description

Gets the file size in bytes in a 32-bit unsigned integer.

See Also

VFGetFileSize, VFGetFileSizeByFd, VFGetFileSizeU32ByFd

Revision History

2008/12/16 Initial version.


CONFIDENTIAL