carta
sc_put_data(3)

sc_put_data3

Store a primitive data object on a card

Overview

This function is used to store a primitive data object on card. It corresponds to the PUT DATA command in the ISO 7816 standard. The data to be sent to the card is stored in buf, which is buflen bytes long.

The tag parameter specifies the object to be stored. Refer to the standard for the correct values to use.

Return value

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

History

  • Debian 6.0 (Squeeze): the text shown here
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

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