SYMLNK — Create a symbolic link#
-
SYMLNK(PATH1, PATH2)#
Makes a symbolic link from file
PATH1
toPATH2
. A null character (CHAR(0)
) can be used to mark the end of the names inPATH1
andPATH2
; otherwise, trailing blanks in the file names are ignored. If theSTATUS
argument is supplied, it contains 0 on success or a nonzero error code upon return; seesymlink(2)
. If the system does not supplysymlink(2)
,ENOSYS
is returned.- Parameters
PATH1 – Shall be of default
CHARACTER
type.PATH2 – Shall be of default
CHARACTER
type.STATUS – (Optional) Shall be of default
INTEGER
type.
- Standard:
GNU extension
- Class:
Subroutine, function
- Syntax:
CALL SYMLNK(PATH1, PATH2 [, STATUS]) STATUS = SYMLNK(PATH1, PATH2)
- See also:
LINK — Create a hard link, UNLINK — Remove a file from the file system