LFPOINT_LUN Procedure
Allows the current
Usage
Input Parameters
unit—The file unit (logical unit number) for which the file position will be set. This keyword can be set to either unit or –unit. If –unit is specified, the current position of the file pointer is returned in the output parameter position.
position—A string specifying the position of the file pointer as a byte offset from the start of the file.
Output Parameters
position—If –unit is specified, the current position of the file pointer (in bytes) is returned in the position parameter.
Keywords
None.
Discussion
LFPOINT_LUN is for the PV-WAVE programmer who wants explicit control over positioning for reading or writing within a large file. It is seldom used for general file I/O operations.
See Also
FREE_LUN, FSTAT, GET_LUN, OPEN (Unix), OPEN (Windows), READ, WRITEU, LFSTAT
For more information, see the section Positioning File Pointers in the PV‑WAVE Programmer’s Guide.