[Previous] [Contents] [Next]

pccard_detach()

Detach from the devp-pccard server

Synopsis:

#include <sys/pccard.h>

int pccard_detach( pccard_t handle );

Library:

libpccard

Description:

The pccard_detach() function detaches the user application from the devp-pccard server. The value of handle is obtained from a previous pccard_attach() function call. Any locks that were previously applied with the pccard_lock() function call will be freed.

Returns:

0
Success.
-1
An error occurred (errno is set).

Errors:

EBADF
Invalid handle parameter.

Examples:

See pccard_arm().

Classification:

QNX 6

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

pccard_arm(), pccard_attach(), pccard_lock()


[Previous] [Contents] [Next]