1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
5 <refentry id='pam_strerror'>
8 <refentrytitle>pam_strerror</refentrytitle>
9 <manvolnum>3</manvolnum>
10 <refmiscinfo class='setdesc'>Linux-PAM Manual</refmiscinfo>
13 <refnamediv id="pam_strerror-name">
14 <refname>pam_strerror</refname>
15 <refpurpose>return string describing PAM error code</refpurpose>
18 <!-- body begins here -->
21 <funcsynopsis id="pam_strerror-synopsis">
22 <funcsynopsisinfo>#include <security/pam_appl.h></funcsynopsisinfo>
24 <funcdef>const char *<function>pam_strerror</function></funcdef>
25 <paramdef>pam_handle_t *<parameter>pamh</parameter></paramdef>
26 <paramdef>int <parameter>errnum</parameter></paramdef>
32 <refsect1 id="pam_strerror-description">
33 <title>DESCRIPTION</title>
35 The <function>pam_strerror</function> function returns a pointer to
36 a string describing the error code passed in the argument
37 <emphasis>errnum</emphasis>, possibly using the LC_MESSAGES part of
38 the current locale to select the appropriate language. This string
39 must not be modified by the application. No library function will
43 <refsect1 id="pam_strerror-return_values">
44 <title>RETURN VALUES</title>
46 This function returns always a pointer to a string.
50 <refsect1 id="pam_strerror-see_also">
51 <title>SEE ALSO</title>
54 <refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum>