LSTAT — Get file status¶
- LSTAT()¶
LSTATis identical to STAT, except that if path is a symbolic link, then the link itself is statted, not the file that it refers to.- Parameters
NAME – The type shall be
CHARACTERof the default kind, a valid path within the file system.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 LSTAT(NAME, VALUES [, STATUS]) STATUS = LSTAT(NAME, VALUES)
Example:See STAT for an example.
See also:To stat an open file: FSTAT To stat a file: STAT