1SC_CARD_CTL(3)               OpenSC API reference               SC_CARD_CTL(3)
2
3
4

NAME

6       sc_card_ctl - Send a control command to a card
7

SYNOPSIS

9          #include <opensc.h>
10
11          int sc_card_ctl(struct sc_card *card, unsigned long cmd, void *args);
12
13
14
15

DESCRIPTION

17       This function is used to send various control commands to the smart
18       card associated with card. The command is specified in cmd, and any
19       command-specific arguments are pointed to by args.
20
21       Commands are specific to cards. For more details on which cards accept
22       which commands, check the documentation for your card.
23

RETURN VALUE

25       Returns 0 if successful, or a negative value in case of error.
26
27
28
29opensc                            05/04/2007                    SC_CARD_CTL(3)
Impressum