Visible to Intel only — GUID: GUID-A867D743-850B-4C82-B139-66F0BD2606E8
Visible to Intel only — GUID: GUID-A867D743-850B-4C82-B139-66F0BD2606E8
PXFFSEEK
POSIX Subroutine: Modifies a file position.
USE IFPOSIX
CALL PXFFSEEK (lunit,ioffset,iwhence,ierror)
lunit |
(Input) INTEGER(4). A Fortran logical unit. |
||||||
ioffset |
(Input) INTEGER(4). The number of bytes away from iwhence to place the pointer. |
||||||
iwhence |
(Input) INTEGER(4). The position within the file. The value must be one of the following constants (defined in stdio.h):
|
||||||
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code. Possible error codes are:
EINVAL: No file is connected to lunit, iwhence is not a proper value, or the resulting offset is invalid.
ESPIPE: lunit is a pipe or FIFO.
EEND: The end of the file has been reached.
The PXFFSEEK subroutine modifies the position of the file connected to unit lunit.