Node: SymLnk Intrinsic (function), Next: , Previous: SnglQ Intrinsic, Up: Other Intrinsics

SymLnk Intrinsic (function)

     SymLnk(Path1, Path2)

SymLnk: INTEGER(KIND=1) function.

Path1: CHARACTER; scalar; INTENT(IN).

Path2: CHARACTER; scalar; INTENT(IN).

Intrinsic groups: badu77.


Makes a symbolic link from file Path1 to Path2. A null character (CHAR(0)) marks the end of the names in Path1 and Path2--otherwise, trailing blanks in Path1 and Path2 are ignored. Returns 0 on success or a nonzero error code (ENOSYS if the system does not provide symlink(2)).

Due to the side effects performed by this intrinsic, the function form is not recommended.

For information on other intrinsics with the same name: See SymLnk Intrinsic (subroutine).