suse man page for pam_prompt

Query: pam_prompt

OS: suse

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PAM_PROMPT(3)							 Linux-PAM Manual						     PAM_PROMPT(3)

NAME
pam_prompt, pam_vprompt - interface to conversation function
SYNOPSIS
#include <security/pam_ext.h> void pam_prompt(pam_handle_t *pamh, int style, char **response, const char *fmt, ...); void pam_vprompt(pam_handle_t *pamh, int style, char **response, const char *fmt, va_list args);
DESCRIPTION
The pam_prompt function constructs a message from the specified format string and arguments and passes it to the conversation function as set by the service. Upon successful return, response is set to point to a string returned from the conversation function. This string is allocated on heap and should be freed.
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), pam_conv(3)
STANDARDS
The pam_prompt and pam_vprompt functions are Linux-PAM extensions. Linux-PAM Manual 04/01/2010 PAM_PROMPT(3)
Related Man Pages
pam_vprompt(3) - freebsd
pam_verror(3) - debian
pam_prompt(3) - osx
pam_vprompt(3) - osx
pam_prompt(3) - freebsd
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
A (ksh) Library For and From UNIX.com