qnx_proxy_detach

Gamma: Version 4.0
Prev |  | Next

# `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`

Prev | Home | Next
`qnx_proxy_attach` | Up | `qnx_proxy_rem_attach`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.