34 lines
833 B
XML
34 lines
833 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<refentry id="sccreatefile">
|
||
|
<refmeta>
|
||
|
<refentrytitle>sc_create_file</refentrytitle>
|
||
|
<manvolnum>3</manvolnum>
|
||
|
<refmiscinfo>opensc</refmiscinfo>
|
||
|
</refmeta>
|
||
|
|
||
|
<refnamediv>
|
||
|
<refname>sc_create_file</refname>
|
||
|
<refpurpose>Create a file object</refpurpose>
|
||
|
</refnamediv>
|
||
|
|
||
|
<refsect1>
|
||
|
<title>Synopsis</title>
|
||
|
<para>
|
||
|
<programlisting>
|
||
|
&includes;
|
||
|
|
||
|
int sc_create_file(<link linkend="sccardt">sc_card_t</link> *card, <link linkend="scfilet">sc_file_t</link> *file);
|
||
|
</programlisting>
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
|
||
|
<refsect1>
|
||
|
<title>Description</title>
|
||
|
<para>
|
||
|
This function creates a file on <emphasis>card</emphasis>. The <emphasis>file</emphasis> must
|
||
|
have been created with a call to <link linkend="scfilenew">sc_file_new()</link> beforehand.
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
|
||
|
</refentry>
|