pam_strerror

TriggerTek Logo
abcdefghijklmnopqrstuvwxyz_
PAM_STRERROR(3)		     Programmers’ Manual	      PAM_STRERROR(3)



NAME
       pam_strerror - return a textual description of a Linux-PAM error


SYNOPSIS
       #include <security/pam_appl.h>
       or,
       #include <security/pam_modules.h>

       const char * pam_strerror( pam_handle_t *pamh, int pam_error);



DESCRIPTION
       pam_strerror

       This function returns some text describing the Linux-PAM error associ-
       ated with the pam_error argument.


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.


CONFORMING TO
       DCE-RFC 86.0, October 1995.


BUGS
       This function should be internationalized.


SEE ALSO
       pam(8).

       Also, see the three Linux-PAM Guides, for System administrators,	 mod-
       ule developers, and application developers.



Linux-PAM 0.70			  1999 Oct 4		      PAM_STRERROR(3)