SC_UNLOCK

Section: OpenSC API reference (3)
Updated: 08/27/2008
Index Return to Main Contents
 

NAME

sc_unlock - Unlock a card  

SYNOPSIS

#include <opensc.h>

int sc_unlock(struct sc_card *card);
                

 

DESCRIPTION

This function unlocks card. That is, the lock count is decreased, and the card unlocked if it reaches zero.  

RETURN VALUE

Returns 0 if successful, or a negative value in case of error.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE

linux.jgfs.net manual pages