1PAM_PROMPT(3) Linux-PAM Manual PAM_PROMPT(3)
2
3
4
6 pam_prompt, pam_vprompt - interface to conversation function
7
9 #include <security/pam_ext.h>
10
11 void pam_prompt(pam_handle_t *pamh, int style, char **response,
12 const char *fmt, ...);
13
14 void pam_vprompt(pam_handle_t *pamh, int style, char **response,
15 const char *fmt, va_list args);
16
18 The pam_prompt function constructs a message from the specified format
19 string and arguments and passes it to
20
22 PAM_BUF_ERR
23 Memory buffer error.
24
25 PAM_CONV_ERR
26 Conversation failure.
27
28 PAM_SUCCESS
29 Transaction was successful created.
30
31 PAM_SYSTEM_ERR
32 System error.
33
35 pam(8), pam_conv(3)
36
38 The pam_prompt and pam_vprompt functions are Linux-PAM extensions.
39
40
41
42Linux-PAM Manual 06/27/2006 PAM_PROMPT(3)