sc_format_apdu(3)

sc_format_apdu3

Populate an apdu structure

Usage

#include <opensc.h>
void sc_format_apdu(struct sc_card *card, sc_apdu_t *apdu,
                    int cse, int ins, int p1, int p2);

Overview

This function populates the sc_apdu_t structure pointed to by apdu on card. It does not allocate memory. The cse, ins, p1 and p2 parameters correspond to the respective APDU parameters as described in the ISO 7816 standard.

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

From libopensc2-dev 0.11.13-1.1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.