sc_update_dir(3)

sc_update_dir3

Update application directory on a card

Usage

#include <opensc.h>
int sc_update_dir(sc_card_t *card, sc_app_info_t *app);

Overview

This function updates the application directory on card. If the card has a record-structured directory file, app may contain the application to update. Otherwise, the entire directory file is updated.

Before calling this function, you MUST call sc_enum_apps() first.

Return value

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

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.