Name
hw_FSeek64 -- seek file to new position (V6.0)
Synopsis
DOSINT64 oldpos = hw_FSeek64(APTR handle, DOSINT64 pos, int mode);
Function
This function does the same as hw_FSeek() but uses 64-bit integers to be able to deal with large files. See hw_FSeek for details.

Note that hw_FSeek64() currently isn't able to handle negative seek positions. Thus, the value you pass in parameter 2 must always be positive.

Please note that the AmigaOS 3 and WarpOS versions of Hollywood don't support large file handling. On these systems, the DOSINT64 type will be mapped to a 32-bit integer automatically.

This function is thread-safe.

Designer compatibility
Supported since Designer 5.0

Inputs
handle
file handle returned by hw_FOpen()
pos
destination seek position; this must not be negative!
mode
seek mode (see above)
Results
oldpos
previous position of file cursor or -1 on error

Show TOC