This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Lock the window of the card in the selected socket
#include <sys/pccard.h> int pccard_lock( pccard_t handle, int socket, int index, int oflag );
libpccard
Use the -l pccard option to qcc to link against this library.
The pccard_lock() function call provides exclusive or shared access to the PC Card in socket and also sets access permissions.
See pccard_arm().
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
pccard_arm(), pccard_attach(), pccard_detach(), pccard_info(), pccard_raw_read(), pccard_unlock()