[Previous]
[Contents]
[Next]

qnx_proxy_rem_detach()

release a virtual proxy process on a remote node

Synopsis:

#include <sys/proxy.h>
int qnx_proxy_rem_detach( nid_t nid,
                          pid_t vproxy );

Description:

The qnx_proxy_rem_detach() function releases a virtual proxy process vproxy on node nid that was previously created by qnx_proxy_rem_attach().


Note: If you specify your own node number or zero for nid, a search for a local proxy vproxy is conducted, but it isn't detached.

When a process dies, all virtual proxies attached to it are automatically detached.

Returns:

0
Success
-1
An error occurred. errno is set to indicate the error.

Errors:

EINVAL
Invalid proxy.
EPERM
The proxy doesn't belong to you.
ESRCH
The proxy doesn't exist.

This function may also set errno to any of the values listed for the qnx_vc_attach() function.

Examples:

See qnx_proxy_rem_attach().

Classification:

QNX

Safety:
Interrupt handler No
Signal handler Yes, but modifies errno
Thread Yes

See also:

errno, qnx_proxy_rem_attach()


[Previous]
[Contents]
[Next]