1SC_DISCONNECT_CARD(3) OpenSC API reference SC_DISCONNECT_CARD(3)
2
3
4
6 sc_disconnect_card - Disconnect from a smart card
7
9 #include <opensc.h>
10
11 int sc_disconnect_card(sc_card_t *card, int action);
12
13
14
16 This function disconnects from card, and frees the card structure. Any
17 locks made by the application must be released before calling this
18 function.
19
20 The action parameter is not used at the moment and should be set to 0.
21
22 The card is not reset nor powered down after the operation.
23
25 Returns 0 if successful, or a negative value in case of error.
26
27
28
29opensc 02/16/2010 SC_DISCONNECT_CARD(3)