Rechercher une page de manuel
sc_lock
Langue: en
Version: 02/26/2009 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
sc_lock - Lock a card for exclusive useSYNOPSIS
-
#include <opensc.h> int sc_lock(struct sc_card *card);
DESCRIPTION
This function locks the card against modification from other threads or processes. The function may be called several times; a counter will be increased, and the card will be unlocked only when this counter reaches zero.
RETURN VALUE
Returns 0 on success, or a negative value in case of error.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre