xref: /freebsd/contrib/openpam/doc/man/pam_verror.3 (revision af6a5351a1fdb1130f18be6c782c4d48916eb971)
1.\" Generated from pam_verror.c by gendoc.pl
2.\" $Id: pam_verror.c 648 2013-03-05 17:54:27Z des $
3.Dd February 19, 2017
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_BUF_ERR
30Memory buffer error.
31.It Bq Er PAM_CONV_ERR
32Conversation failure.
33.It Bq Er PAM_SYSTEM_ERR
34System error.
35.El
36.Sh SEE ALSO
37.Xr pam 3 ,
38.Xr pam_error 3 ,
39.Xr pam_strerror 3 ,
40.Xr pam_vinfo 3 ,
41.Xr pam_vprompt 3
42.Sh STANDARDS
43The
44.Fn pam_verror
45function is an OpenPAM extension.
46.Sh AUTHORS
47The
48.Fn pam_verror
49function and this manual page were
50developed for the
51.Fx
52Project by ThinkSec AS and Network Associates Laboratories, the
53Security Research Division of Network Associates, Inc.\& under
54DARPA/SPAWAR contract N66001-01-C-8035
55.Pq Dq CBOSS ,
56as part of the DARPA CHATS research program.
57.Pp
58The OpenPAM library is maintained by
59.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
60