diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-02-12 22:24:34 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-02-12 22:24:34 +0000 |
commit | f7827ccfd255e23f285eb8aec7ddf71af94dd6ff (patch) | |
tree | 171eea4e7e13be3c8e5d2c4748db91b4244782bf /doc/man/pam_strerror.3 | |
parent | 2c388144eb7c68aa31c20c00f6c054c219bf72a2 (diff) | |
download | pam-f7827ccfd255e23f285eb8aec7ddf71af94dd6ff.tar.gz pam-f7827ccfd255e23f285eb8aec7ddf71af94dd6ff.tar.bz2 pam-f7827ccfd255e23f285eb8aec7ddf71af94dd6ff.zip |
Relevant BUGIDs:
Purpose of commit: cleanup
Commit summary:
---------------
Merge manual pages and sgml docu as xml, update them.
2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
* configure.in: Add doc/man/Makefile.
* Make.xml.rules: Enable xincludes for manual pages.
* doc/Makefile.am (EXRA_DIST): Remove manual pages.
(SUBDIR): Add man subdirectory.
* doc/man/Makefile.am: New.
* doc/man/pam_acct_mgmt.3: New.
* doc/man/pam_acct_mgmt.3.xml: New.
* doc/man/pam_get_data.3: New.
* doc/man/pam_get_data.3.xml: New.
* doc/man/pam_set_data.3: New.
* doc/man/pam_set_data.3.xml: New.
* doc/man/pam.8.xml: New.
* doc/man/pam.8: Regenerated from xml file.
* doc/man/pam_authenticate.3.xml: New.
* doc/man/pam_authenticate.3: Regenerated from xml file.
* doc/man/pam_chauthtok.3.xml: New.
* doc/man/pam_chauthtok.3: Regenerated from xml file.
* doc/man/pam_close_session.3.xml: New.
* doc/man/pam_close_session.3: Regenerated from xml file.
* doc/man/pam_end.3.xml: New.
* doc/man/pam_end.3: Regenerated from xml file.
* doc/man/pam_fail_delay.3.xml: New.
* doc/man/pam_fail_delay.3: Regenerated from xml file.
* doc/man/pam_get_item.3.xml: New.
* doc/man/pam_get_item.3: Regenerated from xml file.
* doc/man/pam_item_types.inc.xml: New.
* doc/man/pam_open_session.3.xml: New.
* doc/man/pam_open_session.3: Regenerated from xml file.
* doc/man/pam_set_item.3.xml: New.
* doc/man/pam_set_item.3: Regenerated from xml file.
* doc/man/pam_setcred.3.xml: New.
* doc/man/pam_setcred.3: Regenerated from xml file.
* doc/man/pam_start.3.xml: New.
* doc/man/pam_start.3: Regenerated from xml file.
* doc/man/pam_strerror.3.xml: New.
* doc/man/pam_strerror.3: Regenerated from xml file.
* doc/man/template-man: Removed.
Diffstat (limited to 'doc/man/pam_strerror.3')
-rw-r--r-- | doc/man/pam_strerror.3 | 77 |
1 files changed, 27 insertions, 50 deletions
diff --git a/doc/man/pam_strerror.3 b/doc/man/pam_strerror.3 index 01ee0635..1a096baf 100644 --- a/doc/man/pam_strerror.3 +++ b/doc/man/pam_strerror.3 @@ -1,51 +1,28 @@ -.\" Hey Emacs! This file is -*- nroff -*- source. -.\" ripped off from Rick Faith's getgroups man page -.\" $Id$ -.\" Copyright (c) Andrew G. Morgan 1996-7 <morgan@linux.kernel.org> -.TH PAM_STRERROR 3 "1999 Oct 4" "Linux-PAM 0.70" "Programmers' Manual" -.SH NAME - -pam_strerror \- return a textual description of a Linux-PAM error - -.SH SYNOPSIS -.B #include <security/pam_appl.h> -.br -or, -.br -.B #include <security/pam_modules.h> -.sp -.BI "const char * pam_strerror( pam_handle_t " "*pamh" ", int " pam_error ");" -.sp 2 -.SH DESCRIPTION -.B pam_strerror - -This function returns some text describing the -.BR Linux-PAM -error associated with the -.B pam_error -argument. - -.SH "RETURN VALUE" - -On success this function returns a description of the indicated -error. Should the function not recognize the error, ``Unknown -Linux-PAM error'' is returned. - -.SH "CONFORMING TO" -DCE-RFC 86.0, October 1995. - -.SH BUGS -.sp 2 -This function should be internationalized. - +.\" ** You probably do not want to edit this file directly ** +.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). +.\" Instead of manually editing it, you probably should edit the DocBook XML +.\" source for it and then use the DocBook XSL Stylesheets to regenerate it. +.TH "PAM_STRERROR" "3" "02/08/2006" "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" +.PP +\fB#include <security/pam_appl.h>\fR +.HP 25 +\fBconst\ char\ *\fBpam_strerror\fR\fR\fB(\fR\fBpam_handle_t\ *\fR\fB\fIpamh\fR\fR\fB, \fR\fBint\ \fR\fB\fIerrnum\fR\fR\fB);\fR +.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" - -.BR pam "(8). " - -Also, see the three -.BR Linux-PAM -Guides, for -.BR "System administrators" ", " -.BR "module developers" ", " -and -.BR "application developers" ". " +.PP +\fBpam\fR(8) |