# pam_vinfo - display messages to the user - man(3) - [phpMan]

[_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                                    05/07/2023                                  [_PAM_INFO_(3)](https://www.chedong.com/phpMan.php/man/PAMINFO/3/markdown)
