2005-03-02 00:10:54 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2005-02-25 23:57:53 +00:00
|
|
|
<refentry id="scstrerror">
|
2005-03-01 16:28:39 +00:00
|
|
|
<refentryinfo><title>OpenSC API Reference</title></refentryinfo>
|
2005-02-25 23:57:53 +00:00
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>sc_strerror</refentrytitle>
|
|
|
|
<manvolnum>3</manvolnum>
|
|
|
|
<refmiscinfo>opensc</refmiscinfo>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>sc_strerror</refname>
|
|
|
|
<refpurpose>Return string describing error code</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Synopsis</title>
|
|
|
|
<para>
|
|
|
|
<programlisting>
|
|
|
|
#include <opensc.h>
|
|
|
|
|
|
|
|
const char *sc_strerror(int error);
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<para>
|
|
|
|
This function returns a string describing <emphasis>error</emphasis>. It may
|
|
|
|
be used with a negative errorcode returned by any OpenSC function call.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|