Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ soft_unlink(2) — AUX SR8.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

link(2)

unlink(2)

SOFT_LINK(2)

NAME

soft_link, soft_unlink − create or delete soft links

SYNOPSIS

int soft_link(pathname,linktext)
char*pathname,*linktext;

in soft_unlink(pathname)
char *pathname;

DESCRIPTION

The AUX system call soft_link creates a "soft" link to a specified file.  A soft link points to an object’s pathname, whereas a "hard" links points directly to the object.  The system call soft_unlink deletes the link. 

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. 

soft_unlink deletes only the link; the file to which the link points remains intact.  To delete a file, use unlink(2). 

SEE ALSO

link(2), unlink(2)

DIAGNOSTICS

Both functions return 0 on success and -1 on failure with errno set. 

 

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