pam_strerror.3.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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">
  4. <refentry id='pam_strerror'>
  5. <refmeta>
  6. <refentrytitle>pam_strerror</refentrytitle>
  7. <manvolnum>3</manvolnum>
  8. <refmiscinfo class='setdesc'>Linux-PAM Manual</refmiscinfo>
  9. </refmeta>
  10. <refnamediv id="pam_strerror-name">
  11. <refname>pam_strerror</refname>
  12. <refpurpose>return string describing PAM error code</refpurpose>
  13. </refnamediv>
  14. <!-- body begins here -->
  15. <refsynopsisdiv>
  16. <funcsynopsis id="pam_strerror-synopsis">
  17. <funcsynopsisinfo>#include &lt;security/pam_appl.h&gt;</funcsynopsisinfo>
  18. <funcprototype>
  19. <funcdef>const char *<function>pam_strerror</function></funcdef>
  20. <paramdef>pam_handle_t *<parameter>pamh</parameter></paramdef>
  21. <paramdef>int <parameter>errnum</parameter></paramdef>
  22. </funcprototype>
  23. </funcsynopsis>
  24. </refsynopsisdiv>
  25. <refsect1 id="pam_strerror-description">
  26. <title>DESCRIPTION</title>
  27. <para>
  28. The <function>pam_strerror</function> function returns a pointer to
  29. a string describing the error code passed in the argument
  30. <emphasis>errnum</emphasis>, possibly using the LC_MESSAGES part of
  31. the current locale to select the appropriate language. This string
  32. must not be modified by the application. No library function will
  33. modify this string.
  34. </para>
  35. </refsect1>
  36. <refsect1 id="pam_strerror-return_values">
  37. <title>RETURN VALUES</title>
  38. <para>
  39. This function returns always a pointer to a string.
  40. </para>
  41. </refsect1>
  42. <refsect1 id="pam_strerror-see_also">
  43. <title>SEE ALSO</title>
  44. <para>
  45. <citerefentry>
  46. <refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum>
  47. </citerefentry>
  48. </para>
  49. </refsect1>
  50. </refentry>