:man| Alphabetical   Categories   About us 
 
PAM_PROMPT (3) | C library functions | Unix Manual Pages | :man

NAME

pam_prompt - call the conversation function

CONTENTS

Library
Synopsis
Description
Return Values
See Also
Standards
Authors

LIBRARY


.Lb libpam

SYNOPSIS


.In sys/types.h
.In security/pam_appl.h "int" pam_prompt "pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "..."

DESCRIPTION

The pam_prompt function constructs a message from the specified format string and arguments and passes it to the given PAM context’s conversation function.

A pointer to the response, or NULL if the conversation function did not return one, is stored in the location pointed to by the resp argument.

See pam_vprompt(3) for further details.

RETURN VALUES

The pam_prompt 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_error(3), pam_info(3), pam_strerror(3), pam_vprompt(3)

STANDARDS

AUTHORS

 
Created by Blin Media, 2008-2013