Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

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

libfui.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>.