Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_error(3) [suse man page]

PAM_ERROR(3)							 Linux-PAM Manual						      PAM_ERROR(3)

NAME
pam_error, pam_verror - display error messages to the user SYNOPSIS
#include <security/pam_ext.h> int pam_error(pam_handle_t *pamh, const char *fmt, ...); int pam_verror(pam_handle_t *pamh, const char *fmt, va_list args); 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. 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(8) STANDARDS
The pam_error and pam_verror functions are Linux-PAM extensions. Linux-PAM Manual 04/01/2010 PAM_ERROR(3)

Check Out this Related Man Page

PAM_ERROR(3)						   BSD Library Functions Manual 					      PAM_ERROR(3)

NAME
pam_error -- display an error message LIBRARY
Pluggable Authentication Module Library (libpam, -lpam) SYNOPSIS
#include <sys/types.h> #include <security/pam_appl.h> int pam_error(const pam_handle_t *pamh, const char *fmt, ...); DESCRIPTION
The pam_error function displays an error message through the intermediary of the given PAM context's conversation function. RETURN VALUES
The pam_error function returns one of the following values: [PAM_BUF_ERR] Memory buffer error. [PAM_CONV_ERR] Conversation failure. [PAM_SYSTEM_ERR] System error. SEE ALSO
pam(3), pam_info(3), pam_prompt(3), pam_strerror(3), pam_verror(3) STANDARDS
The pam_error function is an OpenPAM extension. AUTHORS
The pam_error function and this manual page were developed for the FreeBSD Project by ThinkSec AS and Network Associates Laboratories, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BSD
December 21, 2007 BSD
Man Page