1PAM_ERROR(3)                   Linux-PAM Manual                   PAM_ERROR(3)
2
3
4

NAME

6       pam_error, pam_verror - display error messages to the user
7

SYNOPSIS

9       #include <security/pam_ext.h>
10
11       int pam_error(pam_handle_t *pamh, const char *fmt, ...);
12
13       int pam_verror(pam_handle_t *pamh, const char *fmt, va_list args);
14

DESCRIPTION

16       The pam_error function prints error messages through the conversation
17       function to the user.
18
19       The pam_verror function performs the same task as pam_error() with the
20       difference that it takes a set of arguments which have been obtained
21       using the stdarg(3) variable argument list macros.
22

RETURN VALUES

24       PAM_BUF_ERR
25           Memory buffer error.
26
27       PAM_CONV_ERR
28           Conversation failure.
29
30       PAM_SUCCESS
31           Error message was displayed.
32
33       PAM_SYSTEM_ERR
34           System error.
35

SEE ALSO

37       pam_info(3), pam_vinfo(3), pam_prompt(3), pam_vprompt(3), pam(8)
38

STANDARDS

40       The pam_error and pam_verror functions are Linux-PAM extensions.
41
42
43
44Linux-PAM Manual                  05/18/2017                      PAM_ERROR(3)
Impressum