Rechercher une page de manuel
sc_detect_card_presence
Langue: en
Version: 02/26/2009 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
sc_detect_card_presence - Detect presence of smart card in a readerSYNOPSIS
-
#include <opensc.h> int sc_detect_card_presence(sc_reader_t *reader, int slot_id);
DESCRIPTION
This function checks whether reader has a card present in slot_id.
RETURN VALUE
If an error occurred, the return value is a a negative OpenSC error code. If no card is present, 0 is returned. Otherwise, a positive value is returned, which is a combination of flags. The flag SC_SLOT_CARD_PRESENT is always set. In addition, if the card was exchanged, the SC_SLOT_CARD_CHANGED flag is set.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre