Интерактивная система просмотра системных руководств (man-ов)
pam_prompt (3) >> pam_prompt (3) ( FreeBSD man: Библиотечные вызовы ) pam_prompt (3) ( Linux man: Библиотечные вызовы ) BSD mandoc
NAME
pam_prompt
- call the conversation function
LIBRARY
Lb libpam
SYNOPSIS
#include <sys/types.h>
#include <security/pam_appl.h>
int
pam_prompt (const pam_handle_t *pamh int style char **resp const char *fmt ...);
DESCRIPTION
The
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
Fa resp
argument.
See
pam_vprompt3
for further details.
RETURN VALUES
The
function returns one of the following values:
Bq Er PAM_BUF_ERR
Memory buffer error.
Bq Er PAM_CONV_ERR
Conversation failure.
Bq Er PAM_SYSTEM_ERR
System error.
SEE ALSO
pam (3),
pam_error3,
pam_info3,
pam_strerror3,
pam_vprompt3
STANDARDS
The
function is an OpenPAM extension.
AUTHORS
The
function and this manual page were developed for the
Fx 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.
Index
NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
STANDARDS
AUTHORS