pam_strerror(3)

pam_strerror3

Return string describing pam error code

Usage

#include <security/pam_appl.h>

const char *pam_strerror(pam_handle_t *pamh, int errnum);

Overview

The pam_strerror function returns a pointer to a string describing the error code passed in the argument errnum, possibly using the LC_MESSAGES part of the current locale to select the appropriate language. This string must not be modified by the application. No library function will modify this string.

Return values

This function returns always a pointer to a string.

Releases

17 releases since Debian 1.3 (Bo); the text changed 13 times.

  1. 1.3–2.1
  2. 2.2
  3. 3.0
  4. 3.1
  5. 4.0
  6. 5.0
  7. 6.0
  8. 7
  9. 8–9
  10. 10
  11. 11
  12. 12
  13. 13
  14. Arch

From pam 1.7.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.