xref: /netbsd-src/external/bsd/openpam/dist/doc/man/pam_verror.3 (revision 82d56013d7b633d116a93943de88e08335357a7c)
1.\"	$NetBSD: pam_verror.3,v 1.8 2019/12/15 17:08:21 christos Exp $
2.\"
3.\" Generated from pam_verror.c by gendoc.pl
4.\" $OpenPAM: pam_verror.c 938 2017-04-30 21:34:42Z des $
5.Dd February 24, 2019
6.Dt PAM_VERROR 3
7.Os
8.Sh NAME
9.Nm pam_verror
10.Nd display an error message
11.Sh SYNOPSIS
12.In sys/types.h
13.In security/pam_appl.h
14.Ft "int"
15.Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
16.Sh DESCRIPTION
17The
18.Fn pam_verror
19function passes its arguments to
20.Xr pam_vprompt 3
21with a
22style argument of
23.Dv PAM_ERROR_MSG ,
24and discards the response.
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