9.251 SYMLNK — Create a symbolic link
- Description:
- Makes a symbolic link from file PATH1 to PATH2. A null character (
CHAR(0)) can be used to mark the end of the names in PATH1 and PATH2; otherwise, trailing blanks in the file names are ignored. If the STATUS argument is supplied, it contains 0 on success or a nonzero error code upon return; seesymlink(2). If the system does not supplysymlink(2),ENOSYSis returned.This intrinsic is provided in both subroutine and function forms; however, only one form can be used in any given program unit.
- Standard:
- GNU extension
- Class:
- Subroutine, function
- Syntax:
-
CALL SYMLNK(PATH1, PATH2 [, STATUS])STATUS = SYMLNK(PATH1, PATH2) - Arguments:
-
PATH1 Shall be of default CHARACTERtype.PATH2 Shall be of default CHARACTERtype.STATUS (Optional) Shall be of default INTEGERtype. - See also:
- LINK, UNLINK
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/SYMLNK.html