1 .\" Generated from pam_vprompt.c by gendoc.pl
2 .\" $Id: pam_vprompt.c 648 2013-03-05 17:54:27Z des $
8 .Nd call the conversation function
13 .In security/pam_appl.h
15 .Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap"
19 function constructs a string from the
25 and passes it to the given PAM context's
26 conversation function.
30 argument specifies the type of interaction requested, and
31 must be one of the following:
33 .It Dv PAM_PROMPT_ECHO_OFF
34 Display the message and obtain the user's response without
36 .It Dv PAM_PROMPT_ECHO_ON
37 Display the message and obtain the user's response.
39 Display the message as an error message, and do not wait
42 Display the message as an informational message, and do
43 not wait for a response.
46 A pointer to the response, or
48 if the conversation function did
49 not return one, is stored in the location pointed to by the
53 The message and response should not exceed
56 .Dv PAM_MAX_RESP_SIZE ,
58 If they do, they may be truncated.
63 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 des@des.no .