Sys2Seek: Difference between revisions
Appearance
m Ak120 moved page OS2 API:RXUTILEX:Sys2Seek to RxUtilEx - Sys2Seek |
mNo edit summary |
||
Line 3: | Line 3: | ||
==Arguments== | ==Arguments== | ||
REXX ARGUMENTS: | REXX 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== | ==Return Value== |
Revision as of 04:48, 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
REXX 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
REXX RETURN VALUE: The new file position, in bytes.