xref: /netbsd-src/external/bsd/openpam/dist/doc/man/pam_verror.3 (revision 6a493d6bc668897c91594964a732d38505b70cbb)
1.\"	$NetBSD: pam_verror.3,v 1.4 2013/12/27 20:10:20 christos Exp $
2.\"
3.\" Generated from pam_verror.c by gendoc.pl
4.\" Id: pam_verror.c 648 2013-03-05 17:54:27Z des
5.Dd September 7, 2013
6.Dt PAM_VERROR 3
7.Os
8.Sh NAME
9.Nm pam_verror
10.Nd display an error message
11.Sh LIBRARY
12.Lb libpam
13.Sh SYNOPSIS
14.In sys/types.h
15.In security/pam_appl.h
16.Ft "int"
17.Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
18.Sh DESCRIPTION
19The
20.Fn pam_verror
21function passes its arguments to
22.Xr pam_vprompt 3
23with a
24style argument of
25.Dv PAM_ERROR_MSG ,
26and discards the response.
27.Sh RETURN VALUES
28The
29.Fn pam_verror
30function returns one of the following values:
31.Bl -tag -width 18n
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 des@des.no .
63