Go to main content
Oracle Developer Studio 12.6 Man Pages

Exit Print View

Updated: June 2017
 
 

symlnk(3F)

Name

link, symlnk - make a link to an existing file

Synopsis

function link ( name1, name2 )
character*(*) name1, name2
integer function symlnk(name1,name2)
character*(*) name1, name2

Description

The argument name1 must be the path name of an existing file. name2 is a path name to be linked to file name1. name2 must not already exist. The returned value is 0 if successful, a system error code otherwise.

symlnk creates a symbolic link to name1.

Files

libfsu.a

See Also

link(2), symlink(2), perror(3F), unlink(3F)

Bugs

Path names cannot be no longer than MAXPATHLEN as defined in <sys/param.h>.