pam_error3
Display an error message
Usage
#include <sys/types.h>
#include <security/pam_appl.h>
int
pam_error(const pam_handle_t *pamh, const char *fmt, ...);
Library
library “libpam”
Overview
The pam_error function displays an error message through the intermediary of the given PAM context's conversation function.
Return values
The pam_error function returns one of the following values:
- [PAM_BUF_ERR]
-
Memory buffer error.
- [PAM_CONV_ERR]
-
Conversation failure.
- [PAM_SYSTEM_ERR]
-
System error.
Releases
Unchanged in 106 releases since Mac OS X 10.6.