# phpman > man > pam_info(3)

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



## NAME
       pam_info, pam_vinfo - display messages to the user

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

       **int** **pam**___**info(pam**___**handle**___**t** *****_pamh_**,** **const** **char** *****_fmt_**,** _..._**);**

       **int** **pam**___**vinfo(pam**___**handle**___**t** *****_pamh_**,** **const** **char** *****_fmt_**,** **va**___**list** _args_**);**

## DESCRIPTION
       The **pam**___**info** function prints messages through the conversation function to the user.

       The **pam**___**vinfo** function performs the same task as **pam**___**info()** with the difference that it takes
       a set of arguments which have been obtained using the [**stdarg**(3)](https://www.chedong.com/phpMan.php/man/stdarg/3/markdown) variable argument list
       macros.

## RETURN VALUES
       PAM_BUF_ERR
           Memory buffer error.

       PAM_CONV_ERR
           Conversation failure.

       PAM_SUCCESS
           Transaction was successful created.

       PAM_SYSTEM_ERR
           System error.

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

## STANDARDS
       The **pam**___**info** and **pam**___**vinfo** functions are Linux-PAM extensions.



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