PAM_INFO(3)

  .SH "NAME" pam_info, pam_vinfo - display messages to the user
  .SH "SYNOPSIS"

#include <security/pam_ext.h>

      .HP u int pam_info(pam_handle_t *pamh, const char *fmt, ...);
      .HP u int pam_vinfo(pam_handle_t *pamh, const char *fmt, va_list args);

  .SH "DESCRIPTION"

    .PP The pam_info function prints messages through the conversation function to the user.
    .PP 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) variable argument list macros.

  .SH "RETURN VALUES"

      .PP PAM_BUF_ERR

               Memory buffer error.

          .RE
          .PP PAM_CONV_ERR

                   Conversation failure.

              .RE
              .PP PAM_SUCCESS

                       Transaction was successful created.

                  .RE
                  .PP PAM_SYSTEM_ERR

                           System error.

                      .RE

                  .SH "SEE ALSO"

                    .PP pam(8)

                  .SH "STANDARDS"

                    .PP The pam_info and pam_vinfo functions are Linux-PAM extensions.