freebsd-dev/contrib/libpam/doc/man/pam_strerror.3
2001-05-03 10:48:56 +00:00

53 lines
1.1 KiB
Groff

.\" Hey Emacs! This file is -*- nroff -*- source.
.\" ripped off from Rick Faith's getgroups man page
.\" $Id: pam_strerror.3,v 1.1.1.1 2000/06/20 22:10:58 agmorgan Exp $
.\" Copyright (c) Andrew G. Morgan 1996-7 <morgan@linux.kernel.org>
.\" $FreeBSD$
.TH PAM_STRERROR 3 "1999 Oct 4" "PAM 0.70" "Programmers' Manual"
.SH NAME
pam_strerror \- return a textual description of a 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 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
PAM error'' is returned.
.SH "CONFORMING TO"
DCE-RFC 86.0, October 1995.
.SH BUGS
.sp 2
This function should be internationalized.
.SH "SEE ALSO"
.BR pam "(8). "
Also, see the three
.BR PAM
Guides, for
.BR "System administrators" ", "
.BR "module developers" ", "
and
.BR "application developers" ". "