xref: /freebsd/contrib/openpam/doc/man/pam_verror.3 (revision 4c1a82cea504df7a79f5bd8f7d0a41cacccff16e)
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.Ft "int"
13.Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
14.Sh DESCRIPTION
15The
16.Fn pam_verror
17function passes its arguments to
18.Xr pam_vprompt 3
19with a
20style argument of
21.Dv PAM_ERROR_MSG ,
22and discards the response.
23.Pp
24.Sh RETURN VALUES
25The
26.Fn pam_verror
27function returns one of the following values:
28.Bl -tag -width 18n
29.It Bq Er PAM_SUCCESS
30Success.
31.It Bq Er PAM_BUF_ERR
32Memory buffer error.
33.It Bq Er PAM_CONV_ERR
34Conversation failure.
35.It Bq Er PAM_SYSTEM_ERR
36System error.
37.El
38.Sh SEE ALSO
39.Xr pam 3 ,
40.Xr pam_error 3 ,
41.Xr pam_strerror 3 ,
42.Xr pam_vinfo 3 ,
43.Xr pam_vprompt 3
44.Sh STANDARDS
45The
46.Fn pam_verror
47function is an OpenPAM extension.
48.Sh AUTHORS
49The
50.Fn pam_verror
51function and this manual page were
52developed for the
53.Fx
54Project by ThinkSec AS and Network Associates Laboratories, the
55Security Research Division of Network Associates, Inc.\& under
56DARPA/SPAWAR contract N66001-01-C-8035
57.Pq Dq CBOSS ,
58as part of the DARPA CHATS research program.
59.Pp
60The OpenPAM library is maintained by
61.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
62