~ubuntu-branches/ubuntu/karmic/opensc/karmic-updates

« back to all changes in this revision

Viewing changes to doc/man.out/sc_update_dir.3

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-29 03:56:10 UTC
  • mto: (8.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090329035610-y7v5a3f0852p4da8
Tags: upstream-0.11.7
ImportĀ upstreamĀ versionĀ 0.11.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\"     Title: sc_update_dir
 
2
.\"    Author: 
 
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
 
4
.\"      Date: 02/26/2009
 
5
.\"    Manual: OpenSC API reference
 
6
.\"    Source: opensc
 
7
.\"
 
8
.TH "SC_UPDATE_DIR" "3" "02/26/2009" "opensc" "OpenSC API reference"
 
9
.\" disable hyphenation
 
10
.nh
 
11
.\" disable justification (adjust text to left margin only)
 
12
.ad l
 
13
.SH "NAME"
 
14
sc_update_dir \- Update application directory on a card
 
15
.SH "SYNOPSIS"
 
16
.PP
 
17
 
 
18
.sp
 
19
.RS 4
 
20
.nf
 
21
#include <opensc\&.h>
 
22
 
 
23
int sc_update_dir(sc_card_t *card, sc_app_info_t *app);
 
24
                
 
25
.fi
 
26
.RE
 
27
.sp
 
28
.SH "DESCRIPTION"
 
29
.PP
 
30
This function updates the application directory on
 
31
\fIcard\fR\&. If the card has a record\-structured directory file,
 
32
\fIapp\fR
 
33
may contain the application to update\&. Otherwise, the entire directory file is updated\&.
 
34
.PP
 
35
Before calling this function, you MUST call
 
36
sc_enum_apps()
 
37
first\&.
 
38
.SH "RETURN VALUE"
 
39
.PP
 
40
Returns 0 if successful, or a negative value in case of error\&.