QNX Developer Support
Detach from the devp-pccard server
#include <sys/pccard.h> int pccard_detach( pccard_t handle );
- The handle returned by pccard_attach().
Use the -l pccard option to qcc to link against this library.
The pccard_detach() function detaches the user application from the devp-pccard server. Any locks that you previously applied with pccard_lock() are freed.
- An error occurred (errno is set).
- Invalid handle parameter.