LINK(3F) COMMAND REFERENCE LINK(3F)
NAME
link - make a link to an existing file
SYNOPSIS
function link (filename1, filename2)
character*(*) filename1, filename2
integer function symlnk (filename1, filename2)
character*(*) filename1, filename2
DESCRIPTION
Link makes a hard link to an existing filename1; the link
itself has the name filename2.
Filename1 must be the pathname of an existing file.
Filename2 is a pathname to be linked to filename1.
Filename2 must not already exist. With hard links, both
filename1 and filename2 must be in the same file system.
Unless the caller is the superuser, filename1 must not be a
directory. Both all old links and the new link share equal
access and rights to the underlying object (filename1).
Symlnk creates a symbolic link to filename1; the link is
filename2. Either name may be an arbitrary pathname; the
files need not be on the same file system.
The returned value will be 0 if successful; a system error
code otherwise.
FILES
/usr/lib/libU77.a
f77 UTek system interface library.
RETURN VALUE
The returned value will be 0 if successful; a system error
code otherwise.
CAVEATS
Pathnames can be no longer than MAXPATHLEN as defined in
/usr/include/max.h .
SEE ALSO
link(2), symlink(2), perror(3f), and unlink(3f).
Printed 3/13/89 1
%%index%%
na:264,90;
sy:354,1655;
de:2009,1267;
fi:3276,191;
rv:3467,209;
ca:3676,195;
se:3871,200;
%%index%%000000000123