Jump to content

Sys2Seek: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
==Description==
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]]).
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==
==Arguments==
Line 14: Line 11:


==Return Value==
==Return Value==
REXX RETURN VALUE:
REXX RETURN VALUE: The new file position, in bytes.
  The new file position, in bytes.


[[Category:The OS/2 API Project]]
[[Category:RxUtilEx]]

Revision as of 14:37, 26 February 2017

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:

 1. File handle (returned by Sys2Open).  (REQUIRED)
 2. The signed distance in bytes to move.  (REQUIRED)
 3. 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.