pam_verror3
Display an error message
Usage
#include <sys/types.h>
#include <security/pam_appl.h>
int
pam_verror(const pam_handle_t *pamh, const char *fmt, va_list ap);
Overview
The pam_verror() function passes its arguments to pam_vprompt(3) with a style argument of PAM_ERROR_MSG, and discards the response.
Return values
The pam_verror() function returns one of the following values:
- [PAM_SUCCESS]
-
Success.
- [PAM_BUF_ERR]
-
Memory buffer error.
- [PAM_CONV_ERR]
-
Conversation failure.
- [PAM_SYSTEM_ERR]
-
System error.
Releases
56 releases since FreeBSD 5.0-RELEASE; the text changed 15 times.