logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pam_error, pam_verror - display error messages to the user

Description

The pam_error function prints error messages through the conversation function to the user. The pam_verror function performs the same task as pam_error() with the difference that it takes a set of arguments which have been obtained using the stdarg(3) variable argument list macros.

Name

pam_error, pam_verror - display error messages to the user

Return Values

PAM_BUF_ERR Memory buffer error. PAM_CONV_ERR Conversation failure. PAM_SUCCESS Error message was displayed. PAM_SYSTEM_ERR System error.

See Also

pam_info(3), pam_vinfo(3), pam_prompt(3), pam_vprompt(3), pam(7)

Standards

The pam_error and pam_verror functions are Linux-PAM extensions. Linux-PAM 07/03/2025 PAM_ERROR(3)

Synopsis

#include<security/pam_ext.h>intpam_error(pam_handle_t*pamh,constchar*fmt,...);intpam_verror(pam_handle_t*pamh,constchar*fmt,va_listargs);

See Also