pam_strerror(3) — Linux manual page
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(8)
COLOPHON
This page is part of the linux-pam (Pluggable Authentication
Modules for Linux) project. Information about the project can be
found at ⟨http://www.linux-pam.org/⟩. If you have a bug report
for this manual page, see ⟨//www.linux-pam.org/⟩. This page was
obtained from the project's upstream Git repository
⟨https://github.com/linux-pam/linux-pam.git⟩ on 2023-12-22. (At
that time, the date of the most recent commit that was found in
the repository was 2023-12-18.) If you discover any rendering
problems in this HTML version of the page, or you believe there
is a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
Linux-PAM Manual 12/22/2023 PAM_STRERROR(3)
Pages that refer to this page: pam(3), pam_acct_mgmt(3), pam_authenticate(3), pam_chauthtok(3), pam_close_session(3), pam_conv(3), pam_end(3), pam_fail_delay(3), pam_get_data(3), pam_get_item(3), pam_get_user(3), pam_open_session(3), pam_putenv(3), pam_setcred(3), pam_set_data(3), pam_set_item(3), pam_sm_acct_mgmt(3), pam_sm_authenticate(3), pam_sm_chauthtok(3), pam_sm_close_session(3), pam_sm_open_session(3), pam_sm_setcred(3), pam_start(3), PAM(8)