IP_NserveRemove

IP_NserveRemove — removes an entry from nserve.

Syntax

#include <cogent.h>

int IP_NserveRemove(char* name);

Arguments

name

A task name.

Returns

0 on success, or -1 on failure and errno is set.

Description

This function removes the name entry from nserve. No check is performed to ensure that the requesting task in fact "owns" the name being removed. This will trigger the same response by nserve as if the process referred to by name had exited, except that any other names associated with that process will remain.

See Also

The Cascade NameServer, Cascade NameServer Functions, nserve, IP_NserveAdd