Sys2Seek: Difference between revisions
Appearance
m Ak120 moved page RxUtilEx - Sys2Seek to Sys2Seek |
mNo edit summary |
||
Line 2: | Line 2: | ||
==Arguments== | ==Arguments== | ||
# File handle (returned by [[Sys2Open]]). (REQUIRED) | # File handle (returned by [[Sys2Open]]). (REQUIRED) | ||
# The signed distance in bytes to move. (REQUIRED) | # The signed distance in bytes to move. (REQUIRED) | ||
Line 11: | Line 10: | ||
==Return Value== | ==Return Value== | ||
The new file position, in bytes. | |||
[[Category:RxUtilEx]] | [[Category:RxUtilEx]] |
Latest revision as of 06:47, 3 May 2020
Move the read/write pointer to the specified location in an open file/stream; files larger than 2GB are supported (this function is a wrapper to DosSetFilePtrL).
Arguments
- File handle (returned by Sys2Open). (REQUIRED)
- The signed distance in bytes to move. (REQUIRED)
- Move method, one of:
- B = Beginning of file
- C = Current position (DEFAULT)
- E = End of file
Return Value
The new file position, in bytes.