Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/pccard_detach.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/pccard_detach.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/pccard_detach.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/pccard_detach.html on line 8

pccard_detach()

Detach from the devp-pccard server

Synopsis:

#include <sys/pccard.h>

int pccard_detach( pccard_t handle );

Arguments:

handle
The handle returned by pccard_attach().

Library:

libpccard

Use the -l pccard option to qcc to link against this library.

Description:

The pccard_detach() function detaches the user application from the devp-pccard server. Any locks that you previously applied with pccard_lock() are freed.

Returns:

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

Errors:

EBADF
Invalid handle parameter.

Examples:

See pccard_arm().

Classification:

QNX Neutrino

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

See also:

pccard_arm(), pccard_attach(), pccard_info(), pccard_lock(), pccard_raw_read(), pccard_unlock()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/p/pccard_detach.html on line 143

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/p/pccard_detach.html on line 143