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

« back to all changes in this revision

Viewing changes to doc/man.out/sc_base64_decode.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_base64_decode
 
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_BASE64_DECODE" "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_base64_decode \- Decode a base64 stream
 
15
.SH "SYNOPSIS"
 
16
.PP
 
17
 
 
18
.sp
 
19
.RS 4
 
20
.nf
 
21
#include <opensc\&.h>
 
22
 
 
23
int sc_base64_decode(const char *inbuf,
 
24
                     unsigned char *outbuf, size_t outlen);
 
25
                
 
26
.fi
 
27
.RE
 
28
.sp
 
29
.SH "DESCRIPTION"
 
30
.PP
 
31
This function decodes the base64 stream in
 
32
\fIinbuf\fR, which is NULL\-terminated, to the buffer pointed to by
 
33
\fIoutbuf\fR
 
34
(which is
 
35
\fIoutlen\fR
 
36
bytes long);
 
37
.SH "RETURN VALUE"
 
38
.PP
 
39
Returns 0 if successful, or a negative value in case of error\&.