Creates a new link to an existing file.
#include <unistd.h> int link ( const char *path1, const char *path2);
(IN) Points to the path and filename of an existing file.
(IN) Points to the path and filename of the entry to create.
If successful, returns 0. Otherwise returns -1 and sets errno.
The link function only works with NLMs that are using POSIX semantics, on NSS volumes that support the sLink function, and for hard links. Soft links are not currently supported.