Next: FTell Intrinsic (subroutine), Previous: FStat Intrinsic (subroutine), Up: Table of Intrinsic Functions
FStat(Unit, SArray)
FStat: INTEGER(KIND=1)
function.
Unit: INTEGER
; scalar; INTENT(IN).
SArray: INTEGER(KIND=1)
; DIMENSION(13); INTENT(OUT).
Intrinsic groups: unix
.
Description:
Obtains data about the file open on Fortran I/O unit Unit and
places them in the array SArray.
The values in this array are
extracted from the stat
structure as returned by
fstat(2)
q.v., as follows:
Not all these elements are relevant on all systems. If an element is not relevant, it is returned as 0.
Returns 0 on success or a nonzero error code.
For information on other intrinsics with the same name: See FStat Intrinsic (subroutine).