SrrNameDetach

SrrNameDetach — detaches a name.

Syntax

#include <srripc.h>

int SrrNameDetach(nid_t n, int name_id);

Arguments

n

The applicable node. If 0 the local node is used.

name_id

The name to be detached.

Returns

0 on success, else -1, and errno is set.

Description

Detaches a name attached by SrrNameAttach.

Errors

    EINVAL nameid does not exist, or if it does, you do not own it

See Also

SrrNameAttach, SrrNameLocate