[Previous] [Contents] [Next]

pccard_attach()

Attach to the devp-pccard server

Synopsis:

#include <sys/pccard.h>

pccard_t pccard_attach( int reserved );

Library:

libpccard

Description:

The pccard_attach() function attaches a user application to the devp-pccard server. This function must be called before any of the other PC card functions, because it returns a handle that's used by all of the other PC Card functions.

Returns:

>0
Value to be used as handle in all other PC Card function calls.
-1
Can't locate the devp-pccard server.
-2
Send to devp-pccard server failed.
-3
The devp-pccard server returned an error (errno is set).

Errors:

EBUSY
The devp-pccard server is unable to service this request.

Examples:

See pccard_arm().

Classification:

QNX 6

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

See also:

pccard_arm()


[Previous] [Contents] [Next]