1PAM_STRERROR(3) Linux-PAM Manual PAM_STRERROR(3)
2
3
4
6 pam_strerror - return string describing PAM error code
7
9 #include <security/pam_appl.h>
10
11 const char *pam_strerror(pam_handle_t *pamh, int errnum);
12
14 The pam_strerror function returns a pointer to a string describing the
15 error code passed in the argument errnum, possibly using the
16 LC_MESSAGES part of the current locale to select the appropriate
17 language. This string must not be modified by the application. No
18 library function will modify this string.
19
21 This function returns always a pointer to a string.
22
24 pam(8)
25
26
27
28Linux-PAM Manual 06/08/2020 PAM_STRERROR(3)