SrrProxyTrigger

SrrProxyTrigger — triggers a proxy into sending its message.

Syntax

#include <srripc.h>

pid_t SrrProxyTrigger(pid_t pid);

Arguments

pid

The proxy ID number as returned by SrrProxyAttach.

Returns

0 on success, else -1.

Description

This function triggers a proxy to send its message to the receiving task. Its calling process does not block, and if more than one SrrProxyTrigger call is sent while the task is busy, up to 65535 proxy messages will be queued for later delivery.

Errors

    EPERM  This task has insufficient privileges to do this.

    ESRCH  The proxy does not exist.

See Also

SrrProxyAttach SrrProxyDetach