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