summaryrefslogtreecommitdiffstats
path: root/doc/man/pam_strerror.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/pam_strerror.3')
-rw-r--r--doc/man/pam_strerror.322
1 files changed, 15 insertions, 7 deletions
diff --git a/doc/man/pam_strerror.3 b/doc/man/pam_strerror.3
index b626eac..9003102 100644
--- a/doc/man/pam_strerror.3
+++ b/doc/man/pam_strerror.3
@@ -1,6 +1,6 @@
.\"-
.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
+.\" Copyright (c) 2004-2011 Dag-Erling Smørgrav
.\" All rights reserved.
.\"
.\" This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -32,9 +32,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $P4$
+.\" $Id$
.\"
-.Dd December 21, 2007
+.Dd December 18, 2011
.Dt PAM_STRERROR 3
.Os
.Sh NAME
@@ -53,9 +53,15 @@ The
function returns a pointer to a string containing a
textual description of the error indicated by the
.Fa error_number
-argument, in the context of the PAM transaction described by the
-.Fa pamh
argument.
+The
+.Fa pamh
+argument is ignored.
+For compatibility with other implementations, it should be either a
+valid PAM handle returned by a previous call to
+.Xr pam_start 3 ,
+or
+.Dv NULL .
.Sh RETURN VALUES
The
.Nm
@@ -63,7 +69,8 @@ function returns
.Dv NULL
on failure.
.Sh SEE ALSO
-.Xr pam 3
+.Xr pam 3 ,
+.Xr pam_start 3
.Sh STANDARDS
.Rs
.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
@@ -74,7 +81,8 @@ The
.Nm
function and this manual page were developed for the
.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
+Project by
+ThinkSec AS and Network Associates Laboratories, the
Security Research Division of Network Associates, Inc.\& under
DARPA/SPAWAR contract N66001-01-C-8035
.Pq Dq CBOSS ,
OpenPOWER on IntegriCloud