pam_strerror.3 revision 1.5 1 <<<<<<< pam_strerror.3
2 .\" $NetBSD: pam_strerror.3,v 1.5 2014/10/24 18:17:56 christos Exp $
3 .\"
4 =======
5 >>>>>>> 1.1.1.4
6 .\" Generated from pam_strerror.c by gendoc.pl
7 .\" Id: pam_strerror.c 648 2013-03-05 17:54:27Z des
8 .Dd September 12, 2014
9 .Dt PAM_STRERROR 3
10 .Os
11 .Sh NAME
12 .Nm pam_strerror
13 .Nd get PAM standard error message string
14 .Sh LIBRARY
15 .Lb libpam
16 .Sh SYNOPSIS
17 .In sys/types.h
18 .In security/pam_appl.h
19 .Ft "const char *"
20 .Fn pam_strerror "const pam_handle_t *pamh" "int error_number"
21 .Sh DESCRIPTION
22 The
23 .Fn pam_strerror
24 function returns a pointer to a string containing a
25 textual description of the error indicated by the
26 .Fa error_number
27 argument.
28 argument, in the context of the PAM transaction described by the
29 .Fa pamh
30 The
31 .Fa pamh
32 argument is ignored.
33 For compatibility with other implementations, it should be either a
34 valid PAM handle returned by a previous call to
35 .Xr pam_start 3 ,
36 or
37 .Dv NULL .
38 .Sh RETURN VALUES
39 The
40 .Fn pam_strerror
41 function returns
42 .Dv NULL
43 on failure.
44 .Sh SEE ALSO
45 .Xr pam 3 ,
46 .Xr pam_start 3
47 .Sh STANDARDS
48 .Rs
49 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
50 .%D "June 1997"
51 .Re
52 .Sh AUTHORS
53 The
54 .Fn pam_strerror
55 function and this manual page were
56 developed for the
57 .Fx
58 Project by ThinkSec AS and Network Associates Laboratories, the
59 Security Research Division of Network Associates, Inc.\& under
60 DARPA/SPAWAR contract N66001-01-C-8035
61 .Pq Dq CBOSS ,
62 as part of the DARPA CHATS research program.
63 .Pp
64 The OpenPAM library is maintained by
65 .An Dag-Erling Sm\(/orgrav Aq des (a] des.no .
66