pam_strerror
Name
pam_strerror -- returns a string describing the PAM error
Synopsis
#include <security/pam_appl.h> |
const char *
pam_strerror
(pam_handle_t *
pamh, int
errnum);
Description
pam_strerror() returns a string describing the PAM
error associated with errnum.
Return Value
On success, this function returns a description of the indicated error.
The application
should not free or modify this string.
Otherwise, a string
indicating that the error is unknown shall be returned.
It is unspecified whether or not the string returned is translated according to
the setting of LC_MESSAGES
.