|
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) 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(3) when no
longer in used.
RETURN VALUE
If an error occurred, a negative error code is returned, as described
in sc_error(3). Otherwise, the function will return 0.
SEE ALSO
sc_establish_context(3), sc_disconnect_card(3).
AUTHOR
This manual page was written by Olaf Kirch <okir@suse.de>
OpenSC Programmer's Manual April 2003 sc_connect_card(3)
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Tue Feb 13 02:20:30 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
sqlite3 man page (5323 hits) (openSUSE 10.2)
svn man page (5175 hits) (FreeBSD 6.2)
adv_cap_autoneg man page (4865 hits) (Solaris 10 11_06)
CPAN man page (4602 hits) (Suse Linux 10.1)
ssh man page (4337 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (2843 hits) (Solaris 10 11_06)
netcat man page (2689 hits) (Suse Linux 10.1)
pprosetup man page (2473 hits) (Solaris 10 11_06)
startproc man page (2456 hits) (Suse Linux 10.1)
signal man page (2395 hits) (Suse Linux 10.1)
|