pam_vinfo(3) - Linux man page

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) 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(8)

Standards

The pam_info and pam_vinfo functions are Linux-PAM extensions.

Referenced By

pam_verror(3)