1
.\" Title: sc_update_dir
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5
.\" Manual: OpenSC API reference
8
.TH "SC_UPDATE_DIR" "3" "02/26/2009" "opensc" "OpenSC API reference"
9
.\" disable hyphenation
11
.\" disable justification (adjust text to left margin only)
14
sc_update_dir \- Update application directory on a card
23
int sc_update_dir(sc_card_t *card, sc_app_info_t *app);
30
This function updates the application directory on
31
\fIcard\fR\&. If the card has a record\-structured directory file,
33
may contain the application to update\&. Otherwise, the entire directory file is updated\&.
35
Before calling this function, you MUST call
40
Returns 0 if successful, or a negative value in case of error\&.