.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)link.3 5.1 (Berkeley) %G%
.TH LINK 3F "18 July 1983"
link \- make a link to an existing file
.B function link (name1, name2)
.B character*(*) name1, name2
.B integer function symlnk (name1, name2)
.B character*(*) name1, name2
must be the pathname of an existing file.
is a pathname to be linked to file
The returned value will be 0 if successful; a system error code otherwise.
creates a symbolic link to
.ie \nM /usr/ucb/lib/libU77.a
link(2), symlink(2), perror(3F), unlink(3F)
Pathnames can be no longer than MAXPATHLEN as defined in