FSTAT — Get file status
FSTATis identical to STAT, except that information about an already opened file is obtained.
The elements in
VALUESare the same as described by STAT.
This intrinsic is provided in both subroutine and function forms; however, only one form can be used in any given program unit.
CALL FSTAT(UNIT, VALUES [, STATUS])
STATUS = FSTAT(UNIT, VALUES)
UNIT An open I/O unit number of type
VALUES The type shall be
STATUS (Optional) status flag of type
INTEGER(4). Returns 0 on success and a system specific error code otherwise.
See STAT for an example.
- See also: