Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ soft_link.bsd(2) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

link(2)

symlink(2)

unlink(2)

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, indistinguishable 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), symlink(2), unlink(2)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026