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
13 .Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap"
17 function constructs a string from the
23 and passes it to the given PAM context's
24 conversation function.
28 argument specifies the type of interaction requested, and
29 must be one of the following:
31 .It Dv PAM_PROMPT_ECHO_OFF
32 Display the message and obtain the user's response without
34 .It Dv PAM_PROMPT_ECHO_ON
35 Display the message and obtain the user's response.
37 Display the message as an error message, and do not wait
40 Display the message as an informational message, and do
41 not wait for a response.
44 A pointer to the response, or
46 if the conversation function did
47 not return one, is stored in the location pointed to by the
51 The message and response should not exceed
54 .Dv PAM_MAX_RESP_SIZE ,
56 If they do, they may be truncated.
61 function returns one of the following values:
67 .It Bq Er PAM_CONV_ERR
69 .It Bq Er PAM_SYSTEM_ERR
84 function is an OpenPAM extension.
88 function and this manual page were
91 Project by ThinkSec AS and Network Associates Laboratories, the
92 Security Research Division of Network Associates, Inc.\& under
93 DARPA/SPAWAR contract N66001-01-C-8035
95 as part of the DARPA CHATS research program.
97 The OpenPAM library is maintained by
98 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .