qnx_vc_detach

Gamma: Version 4.0
Prev |  | Next

# `qnx_vc_detach`

`qnx_vc_detach` -- detaches a virtual circuit.

## Syntax

    qnx_vc_detach (taskid)

## Arguments

`taskid`

  The task id returned by qnx_vc_attach.

## Returns

t on success, nil on failure, with errno set.

## Description

This function detaches a virtual circuit previously attached with `qnx_vc_attach` or `qnx_vc_name_attach`.

Possible values for errno are:

- EAGAIN Proc to Net enqueuing failed

- ESRCH pid not valid

- EPERM the vid is not your to detach nil

## Example

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

## See Also

`qnx_vc_attach`, `qnx_vc_name_attach`

Prev | Home | Next
`qnx_vc_attach` | Up | `qnx_vc_name_attach`

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