summaryrefslogtreecommitdiff
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.336
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/man/pam_strerror.3 b/doc/man/pam_strerror.3
new file mode 100644
index 00000000..785cd69e
--- /dev/null
+++ b/doc/man/pam_strerror.3
@@ -0,0 +1,36 @@
+.\" Title: pam_strerror
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
+.\" Date: 04/16/2008
+.\" Manual: Linux-PAM Manual
+.\" Source: Linux-PAM Manual
+.\"
+.TH "PAM_STRERROR" "3" "04/16/2008" "Linux-PAM Manual" "Linux-PAM Manual"
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.SH "NAME"
+pam_strerror - return string describing PAM error code
+.SH "SYNOPSIS"
+.sp
+.ft B
+.nf
+#include <security/pam_appl\.h>
+.fi
+.ft
+.HP 25
+.BI "const char *pam_strerror(pam_handle_t\ *" "pamh" ", int\ " "errnum" ");"
+.SH "DESCRIPTION"
+.PP
+The
+\fBpam_strerror\fR
+function returns a pointer to a string describing the error code passed in the argument
+\fIerrnum\fR, possibly using the LC_MESSAGES part of the current locale to select the appropriate language\. This string must not be modified by the application\. No library function will modify this string\.
+.SH "RETURN VALUES"
+.PP
+This function returns always a pointer to a string\.
+.SH "SEE ALSO"
+.PP
+
+\fBpam\fR(8)