DMUNLINK(5ICD)

NAME
dmUnlink - unlink secondary DDM data stream

SYNOPSIS

#include "dmincl.h"
dmUnlink (key, stream)
DM_CELL *key;
char *stream;

PARAMETERS
is a pointer to a valid DM_CELL as obtained from function dmCheckOut(). names the stream which must be unlinked.

DESCRIPTION
Function dmUnlink() removes the stream identified by stream. The (absolute) pathname of the stream is obtained from the key argument.

FILES
view/cell/file

DIAGNOSTICS
If successful 0 will be returned. If dmUnlink() fails -1 will be returned, in the following cases a call to function dmError() will be done:

DME_BADKEY
    Illegal access key given.

DME_BADNAME
    Illegal stream name specified (not secondary data).

SEE ALSO
unlink(2).