# phpman > man > PAM_STRERROR(3)

[PAM_STRERROR(3)](https://www.chedong.com/phpMan.php/man/PAMSTRERROR/3/markdown)                           Linux-PAM Manual                           [PAM_STRERROR(3)](https://www.chedong.com/phpMan.php/man/PAMSTRERROR/3/markdown)



## NAME
       pam_strerror - return string describing PAM error code

## SYNOPSIS
       **#include** **<security/pam**___**appl.h>**

       **const** **char** ***pam**___**strerror(pam**___**handle**___**t** *****_pamh_**,** **int** _errnum_**);**

## DESCRIPTION
       The **pam**___**strerror** function returns a pointer to a string describing the error code passed in
       the argument _errnum_, 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.

## RETURN VALUES
       This function returns always a pointer to a string.

## SEE ALSO
       [**pam**(7)](https://www.chedong.com/phpMan.php/man/pam/7/markdown)



Linux-PAM Manual                             06/08/2020                              [PAM_STRERROR(3)](https://www.chedong.com/phpMan.php/man/PAMSTRERROR/3/markdown)
