pam_prompt.3 revision 1.5 1 1.5 christos <<<<<<< pam_prompt.3
2 1.4 christos .\" $NetBSD: pam_prompt.3,v 1.5 2014/10/24 18:17:56 christos Exp $
3 1.1 christos .\"
4 1.5 christos =======
5 1.5 christos >>>>>>> 1.1.1.4
6 1.4 christos .\" Generated from pam_prompt.c by gendoc.pl
7 1.4 christos .\" Id: pam_prompt.c 648 2013-03-05 17:54:27Z des
8 1.5 christos .Dd September 12, 2014
9 1.1 christos .Dt PAM_PROMPT 3
10 1.1 christos .Os
11 1.1 christos .Sh NAME
12 1.1 christos .Nm pam_prompt
13 1.1 christos .Nd call the conversation function
14 1.1 christos .Sh LIBRARY
15 1.1 christos .Lb libpam
16 1.1 christos .Sh SYNOPSIS
17 1.1 christos .In sys/types.h
18 1.1 christos .In security/pam_appl.h
19 1.1 christos .Ft "int"
20 1.1 christos .Fn pam_prompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "..."
21 1.1 christos .Sh DESCRIPTION
22 1.1 christos The
23 1.3 christos .Fn pam_prompt
24 1.1 christos function constructs a message from the specified format
25 1.1 christos string and arguments and passes it to the given PAM context's
26 1.1 christos conversation function.
27 1.1 christos .Pp
28 1.1 christos A pointer to the response, or
29 1.1 christos .Dv NULL
30 1.1 christos if the conversation function did
31 1.1 christos not return one, is stored in the location pointed to by the
32 1.1 christos .Fa resp
33 1.1 christos argument.
34 1.1 christos .Pp
35 1.1 christos See
36 1.1 christos .Xr pam_vprompt 3
37 1.1 christos for further details.
38 1.1 christos .Sh RETURN VALUES
39 1.1 christos The
40 1.3 christos .Fn pam_prompt
41 1.1 christos function returns one of the following values:
42 1.1 christos .Bl -tag -width 18n
43 1.1 christos .It Bq Er PAM_BUF_ERR
44 1.1 christos Memory buffer error.
45 1.1 christos .It Bq Er PAM_CONV_ERR
46 1.1 christos Conversation failure.
47 1.1 christos .It Bq Er PAM_SYSTEM_ERR
48 1.1 christos System error.
49 1.1 christos .El
50 1.1 christos .Sh SEE ALSO
51 1.1 christos .Xr pam 3 ,
52 1.1 christos .Xr pam_error 3 ,
53 1.1 christos .Xr pam_info 3 ,
54 1.1 christos .Xr pam_strerror 3 ,
55 1.1 christos .Xr pam_vprompt 3
56 1.1 christos .Sh STANDARDS
57 1.1 christos The
58 1.3 christos .Fn pam_prompt
59 1.1 christos function is an OpenPAM extension.
60 1.1 christos .Sh AUTHORS
61 1.1 christos The
62 1.3 christos .Fn pam_prompt
63 1.3 christos function and this manual page were
64 1.3 christos developed for the
65 1.1 christos .Fx
66 1.3 christos Project by ThinkSec AS and Network Associates Laboratories, the
67 1.1 christos Security Research Division of Network Associates, Inc.\& under
68 1.1 christos DARPA/SPAWAR contract N66001-01-C-8035
69 1.1 christos .Pq Dq CBOSS ,
70 1.1 christos as part of the DARPA CHATS research program.
71 1.4 christos .Pp
72 1.4 christos The OpenPAM library is maintained by
73 1.4 christos .An Dag-Erling Sm\(/orgrav Aq des (a] des.no .
74