SOFT_LINK(2) DOMAIN/IX SYS5 SOFT_LINK(2)
NAME
soft_link, soft_unlink - create or delete soft links
USAGE
int soft_link(linktext, pathname)
char *linktext, *pathname;
int soft_unlink(pathname)
char *pathname;
DESCRIPTION
The DOMAIN/IX system call soft_link creates a "soft" link to
a specified file. On DOMAIN systems, a soft link contains
"link text" that references the pathname of an object. A
"hard" link to an object is, in most cases, indistinguish-
able from the object itself.
The pathname argument is the pathname of the link to be
created or deleted. The linktext argument is the pathname
of the file to which the link points. The file named by
linktext need not exist.
The system call soft_unlink deletes a soft link, leaving the
object to which the link points intact. To delete a hard
link, use unlink(2).
DIAGNOSTICS
A successful call returns zero. A failed call returns -1
and sets errno as indicated below.
RELATED INFORMATION
link(2), unlink(2)
Printed 12/4/86 DOMAIN System Only SOFT_LINK-1