VFGetFileSizeByFd

C Specification


#include <revolution/vf.h>

s32 VFGetFileSizeByFd( VFFile* file );

Arguments

file The file descriptor.

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 from the file descriptor.

See Also

Revision History

2006/06/09 Release.


CONFIDENTIAL