qnx_trigger

qnx_trigger — tells a proxy to send its message.

Syntax

qnx_trigger (pid, command, priority? )

		

Arguments

proxyid

The process ID of the proxy.

command

The message code.

priority

The priority of the message.

Returns

The process ID of the proxy triggered, else -1.

Description

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

In case of error, the errno ESRCH means the proxy does not exist.

Example

Examples of this function are beyond the scope of this documentation.