pam_strerror - get PAM standard error message string
#include <security/pam_appl.h>
const char *pam_strerror (
pam_handle_t *pamh,
int error_number
);
Thepam_strerror() function maps the PAM error number in error_number to a PAM error message and returns the error message. The application should not free or modify the string returned. The function returns a NULL if cannot map error_number to a string.The arguments for
pam_strerror() are:
- pamh (in)
The PAM authentication handle.
- error_number (in)
The number of the error for which the error message is required.
If successful, the string mapped to error_number is returned.If error_number cannot be mapped to a string, NULL is returned.
Contents | Next section | Index |