xref: /dragonfly/contrib/openpam/doc/man/pam_verror.3 (revision 655933d6)
1.\" Generated from pam_verror.c by gendoc.pl
2.\" $OpenPAM: pam_verror.c 938 2017-04-30 21:34:42Z des $
3.Dd February 24, 2019
4.Dt PAM_VERROR 3
5.Os
6.Sh NAME
7.Nm pam_verror
8.Nd display an error message
9.Sh SYNOPSIS
10.In sys/types.h
11.In security/pam_appl.h
12.In security/openpam.h
13.Ft "int"
14.Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
15.Sh DESCRIPTION
16The
17.Fn pam_verror
18function passes its arguments to
19.Xr pam_vprompt 3
20with a
21style argument of
22.Dv PAM_ERROR_MSG ,
23and discards the response.
24.Pp
25.Sh RETURN VALUES
26The
27.Fn pam_verror
28function returns one of the following values:
29.Bl -tag -width 18n
30.It Bq Er PAM_SUCCESS
31Success.
32.It Bq Er PAM_BUF_ERR
33Memory buffer error.
34.It Bq Er PAM_CONV_ERR
35Conversation failure.
36.It Bq Er PAM_SYSTEM_ERR
37System error.
38.El
39.Sh SEE ALSO
40.Xr pam 3 ,
41.Xr pam_error 3 ,
42.Xr pam_strerror 3 ,
43.Xr pam_vinfo 3 ,
44.Xr pam_vprompt 3
45.Sh STANDARDS
46The
47.Fn pam_verror
48function is an OpenPAM extension.
49.Sh AUTHORS
50The
51.Fn pam_verror
52function and this manual page were
53developed for the
54.Fx
55Project by ThinkSec AS and Network Associates Laboratories, the
56Security Research Division of Network Associates, Inc.\& under
57DARPA/SPAWAR contract N66001-01-C-8035
58.Pq Dq CBOSS ,
59as part of the DARPA CHATS research program.
60.Pp
61The OpenPAM library is maintained by
62.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
63