1 .\" Generated from openpam_ttyconv.c by gendoc.pl
2 .\" $OpenPAM: openpam_ttyconv.c 938 2017-04-30 21:34:42Z des $
8 .Nd simple tty-based conversation function
11 .In security/pam_appl.h
12 .In security/openpam.h
14 .Fn openpam_ttyconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data"
18 function is a standard conversation function
19 suitable for use on TTY devices.
20 It should be adequate for the needs of most text-based interactive
25 function allows the application to specify a
26 timeout for user input by setting the global integer variable
27 .Va openpam_ttyconv_timeout
28 to the length of the timeout in seconds.
33 function returns one of the following values:
39 .It Bq Er PAM_CONV_ERR
41 .It Bq Er PAM_SYSTEM_ERR
45 .Xr openpam_nullconv 3 ,
53 function is an OpenPAM extension.
57 function and this manual page were
60 Project by ThinkSec AS and Network Associates Laboratories, the
61 Security Research Division of Network Associates, Inc.\& under
62 DARPA/SPAWAR contract N66001-01-C-8035
64 as part of the DARPA CHATS research program.
66 The OpenPAM library is maintained by
67 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .