FSTAT — Get file status#
-
FSTAT(UNIT, VALUES, STATUS)#
FSTAT
is identical to STAT — Get file status, except that information about an already opened file is obtained.- Parameters
UNIT – An open I/O unit number of type
INTEGER
.VALUES – The type shall be
INTEGER(4), DIMENSION(13)
.STATUS – (Optional) status flag of type
INTEGER(4)
. Returns 0 on success and a system specific error code otherwise.
- Standard:
GNU extension
- Class:
Subroutine, function
- Syntax:
CALL FSTAT(UNIT, VALUES [, STATUS]) STATUS = FSTAT(UNIT, VALUES)
- Example:
See STAT — Get file status for an example.
- See also:
To stat a link: LSTAT — Get file status To stat a file: STAT — Get file status