1 .\" Generated from pam_vprompt.c by gendoc.pl
2 .\" $OpenPAM: pam_vprompt.c 938 2017-04-30 21:34:42Z des $
8 .Nd call the conversation function
11 .In security/pam_appl.h
12 .In security/openpam.h
14 .Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap"
18 function constructs a string from the
24 and passes it to the given PAM context's
25 conversation function.
29 argument specifies the type of interaction requested, and
30 must be one of the following:
32 .It Dv PAM_PROMPT_ECHO_OFF
33 Display the message and obtain the user's response without
35 .It Dv PAM_PROMPT_ECHO_ON
36 Display the message and obtain the user's response.
38 Display the message as an error message, and do not wait
41 Display the message as an informational message, and do
42 not wait for a response.
45 A pointer to the response, or
47 if the conversation function did
48 not return one, is stored in the location pointed to by the
52 The message and response should not exceed
55 .Dv PAM_MAX_RESP_SIZE ,
57 If they do, they may be truncated.
62 function returns one of the following values:
68 .It Bq Er PAM_CONV_ERR
70 .It Bq Er PAM_SYSTEM_ERR
85 function is an OpenPAM extension.
89 function and this manual page were
92 Project by ThinkSec AS and Network Associates Laboratories, the
93 Security Research Division of Network Associates, Inc.\& under
94 DARPA/SPAWAR contract N66001-01-C-8035
96 as part of the DARPA CHATS research program.
98 The OpenPAM library is maintained by
99 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .