.\" @(#)link.3f 1.3 86/01/02 SMI; from UCB 4.2 .TH LINK 3F "07 July 1995" .SH NAME link, symlnk \- make a link to an existing file .SH SYNOPSIS .\" .IX link "" \fLlink\fR .IX symlnk "" \fLsymlnk\fR .IX link "to an existing file" .\" .B function link ( name1, name2 ) .br .B character*(*) name1, name2 .sp 1 .B integer function symlnk(name1,name2) .br .B character*(*) name1, name2 .SH DESCRIPTION The argument .I name1 must be the path name of an existing file. .I name2 is a path name to be linked to file .IR name1 . .I name2 must not already exist. The returned value is 0 if successful, a system error code otherwise. .PP .I symlnk creates a symbolic link to .IR name1 . .SH FILES .B libF77.a .SH "SEE ALSO" .BR link (2), .BR symlink (2), .BR perror (3F), .BR unlink (3F) .SH BUGS Path names cannot be no longer than .BR MAXPATHLEN as defined in .BR .