dwww Home | Manual pages | Find package

PAM_STRERROR(3)                 Linux-PAM Manual                PAM_STRERROR(3)

NAME
       pam_strerror - return string describing PAM error code

SYNOPSIS
       #include <security/pam_appl.h>

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

DESCRIPTION
       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.

SEE ALSO
       pam(7)

Linux-PAM                          06/29/2025                   PAM_STRERROR(3)

Generated by dwww version 1.16 on Sat Oct 3 05:20:33 CEST 2026.