SrrProxyDetach

SrrProxyDetach — detaches a proxy from its target process.

Syntax

#include <srripc.h>

int SrrProxyDetach(pid_t pid);

Arguments

pid

The proxy ID number as returned by SrrProxyAttach.

Returns

0 on success, else -1.

Description

This function releases a proxy from its associated task. When a task dies all proxies attached to it are automatically removed.

Errors

    EPERM  This task has insufficient privileges to do this.

    ESRCH  The proxy does not exist.

See Also

SrrProxyAttach SrrProxyTrigger