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_attach.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_attach.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_attach.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_attach.html on line 8
Attach to the devp-pccard server
#include <sys/pccard.h>
pccard_t pccard_attach( int reserved );
- reserved
- Pass 0 for this argument.
libpccard
Use the -l pccard option to
qcc
to link against this library.
The pccard_attach() function attaches a user application to the
devp-pccard server.
You must call this function before using any
of the other PC card functions, because it returns a handle that
all the other PC Card functions use.
- >0
- A 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).
- EBUSY
- The devp-pccard server is unable to service this request.
See pccard_arm().
QNX Neutrino
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
pccard_arm(),
pccard_detach(),
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_attach.html on line 152
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_attach.html on line 152