pam_strerror man page

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)

Referenced By

pam(3), PAM(8), 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).

04/01/2016 Linux-PAM Manual Linux-PAM Manual