sc_connect_card man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]

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
       numbered 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.

opensc				  08/27/2008		    SC_CONNECT_CARD(3)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net