xref: /netbsd-src/external/bsd/openpam/dist/doc/man/pam_verror.3 (revision 0d9d0fd8a30be9a1924e715bbcf67a4a83efd262)
1.\"	$NetBSD: pam_verror.3,v 1.9 2023/06/30 21:46:20 christos Exp $
2.\"
3.\" Generated from pam_verror.c by gendoc.pl
4.Dd June 27, 2023
5.Dt PAM_VERROR 3
6.Os
7.Sh NAME
8.Nm pam_verror
9.Nd display an error message
10.Sh SYNOPSIS
11.In sys/types.h
12.In security/pam_appl.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.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