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

« back to all changes in this revision

Viewing changes to man/sc_format_apdu.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_format_apdu
2
 
.\"    Author: 
3
 
.\" Generator: DocBook XSL Stylesheets v1.71.0 <http://docbook.sf.net/>
4
 
.\"      Date: 09/10/2007
5
 
.\"    Manual: OpenSC API reference
6
 
.\"    Source: opensc
7
 
.\"
8
 
.TH "SC_FORMAT_APDU" "3" "09/10/2007" "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_format_apdu \- Populate an APDU structure
15
 
.SH "SYNOPSIS"
16
 
.PP
17
 
 
18
 
.sp
19
 
.RS 3n
20
 
.nf
21
 
#include <opensc.h>
22
 
 
23
 
void sc_format_apdu(struct sc_card *card, sc_apdu_t *apdu,
24
 
                    int cse, int ins, int p1, int p2);
25
 
                
26
 
.fi
27
 
.RE
28
 
.sp
29
 
.SH "DESCRIPTION"
30
 
.PP
31
 
This function populates the sc_apdu_t structure pointed to by
32
 
\fIapdu\fR
33
 
on
34
 
\fIcard\fR. It does not allocate memory. The
35
 
\fIcse\fR,
36
 
\fIins\fR,
37
 
\fIp1\fR
38
 
and
39
 
\fIp2\fR
40
 
parameters correspond to the respective APDU parameters as described in the ISO 7816 standard.