#include <revolution/vf.h>
s32 VFGetOffsetByFd( VFFile* file );
file |
The file descriptor. |
Success: Seek offset (0 or higher) An offset of 2 GB or more is returned as 2 GB (2,147,483,647 bytes )
Failure: -1 (currently, VF errors can be verified with the VFGetLastError function.)
Gets the seek offset in bytes. To get an accurate seek offset of 2 GB or greater, use VFGetOffsetU32ByFd.
2008/12/16 Added a description about the limits on the return values
2006/06/09 Initial version
CONFIDENTIAL