|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
SC_CONNECT_CARD(3) OpenSC API Reference SC_CONNECT_CARD(3)
NAME
sc_connect_card - Connect to smart card in reader
SYNOPSIS
#include <opensc.h>
int sc_connect_card(sc_reader_t *reader, int slot, sc_card_t **card);
DESCRIPTION
This function connects to a card in a reader, resets the card and
retrieves the ATR (Answer To Reset). Based on the ATR, it tries to
auto-detect which card driver to use.
The slot parameter identifies the card reader's slot. Slots are num-
bered consecutively, starting at 0.
If OpenSC was able to connect to the card, a pointer to the sc_card_t
object is stored in the location pointer to by the card parameter. The
card handle should be released with sc_disconnect_card when no longer
in use.
RETURN VALUE
Returns 0 if successful, or a negative value in case of error.
SC_CONNECT_CARD(3)
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Sat Sep 8 16:38:29 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
sqlite3 man page (5334 hits) (openSUSE 10.2)
svn man page (5209 hits) (FreeBSD 6.2)
adv_cap_autoneg man page (4870 hits) (Solaris 10 11_06)
CPAN man page (4607 hits) (Suse Linux 10.1)
ssh man page (4342 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (2881 hits) (Solaris 10 11_06)
netcat man page (2717 hits) (Suse Linux 10.1)
pprosetup man page (2490 hits) (Solaris 10 11_06)
startproc man page (2471 hits) (Suse Linux 10.1)
signal man page (2408 hits) (Suse Linux 10.1)
|