
link(3)               LPC Library Functions               link(3)

NNAAMMEE
       link() - link a file to another

SSYYNNOOPPSSIISS
       void link( string original, string reference );

DDEESSCCRRIIPPTTIIOONN
       Creates  a  link <reference> to the file <original>.  This
       efun causes valid_link(original, reference) to  be  called
       in  the  master  object.   If  valid_link() returns 0, the
       link() call fails.  If valid_link()  returns  1  then  the
       link()  suceeds  iff rename() would succeed if called with
       the same arguments.

       Note: This efun creates a hard link, not a symbolic one.

SSEEEE AALLSSOO
       rm(3), rmdir(3), rename(3), mkdir(3), cp(3)

Majik                      26 Jul 1997                          1

