INTRO(OC)
Shore Programmer's Manual - 2 August 96
NAME
unlink \- remove a directory entry
SYNOPSIS
#include <ShoreApp.h>
static shrc Shore::unlink(const char *path);
DESCRIPTION
Unlink
decrements the link count of the object referenced by
path
and removes the directory entry named by
path.
If this operation causes the link count of the object to fall to zero,
the referenced object is destroyed. This method is used to destroy
registered objects. Anonymous objects are removed by
OCRef::destroy.
If
unlink
does cause the referenced object to be destroyed, an EX
(exclusive-mode) lock is obtained on the object.
VERSION
This manual page applies to Version 1.0 of theShore software.
SPONSORSHIP
The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-92-C-Q508.
COPYRIGHT
Copyright (c) 1994, 1995, 1996 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.SEE ALSO
destroy(cxxlb)
.