Next: File format of unformatted sequential files, Previous: Files opened without an explicit ACTION= specifier, Up: Compiler Characteristics [Contents][Index]
This section documents the behavior of GNU Fortran for file operations on symbolic links, on systems that support them.
INQUIRE(FILE="foo",EXIST=ex)
will set ex to .true. if
foo is a symbolic link pointing to an existing file, and .false.
if foo points to an non-existing file (“dangling” symbolic link).
OPEN
statement with a STATUS="NEW"
specifier
on a symbolic link will result in an error condition, whether the symbolic
link points to an existing target or is dangling.
CLOSE
statement
with a STATUS="DELETE"
specifier will cause the symbolic link itself
to be deleted, not its target.