ULONG oldpos = hw_FSeek(APTR handle, ULONG pos, int mode);
To find out the current position of the read/write cursor, call
with a 0 zero position and
If there was an error,
hw_FSeek() return -1.
hw_FSeek() currently isn't able to handle negative seek positions.
Thus, the value you pass in parameter 2 must always be positive.
Starting with Hollywood 6.0 there is also a 64-bit version of this command: See hw_FSeek64 for details.
This function is thread-safe.