qnx_proxy_detach

qnx_proxy_detach — removes a proxy.

Syntax

qnx_proxy_detach (proxyid)

		

Arguments

proxyid
The proxy ID number as returned by qnx_proxy_attach.

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.

In case of error, the following errnos are possible:

  • EPERM  This task is not the owner of the proxy.
  • ESRCH  The proxy does not exist.

Example

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

See Also

qnx_proxy_attach