4.3BSD-UWisc/man/cat3/link.3f




LINK(3F)            UNIX Programmer's Manual             LINK(3F)



NAME
     link - make a link to an existing file

SYNOPSIS
     function link (name1, name2)
     character*(*) name1, name2

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

DESCRIPTION
     _N_a_m_e_1 must be the pathname of an existing file.  _N_a_m_e_2 is a
     pathname to be linked to file _n_a_m_e_1.  _N_a_m_e_2 must not already
     exist.  The returned value will be 0 if successful; a system
     error code otherwise.

     _S_y_m_l_n_k creates a symbolic link to _n_a_m_e_1.

FILES
     /usr/lib/libU77.a

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

BUGS
     Pathnames can be no longer than MAXPATHLEN as defined in
     <_s_y_s/_p_a_r_a_m._h>.




























Printed 12/27/86          May 15, 1985                          1