pam_getenv
Name
pam_getenv -- get a PAM environment variable
Synopsis
#include <security/pam_appl.h> |
const char *
pam_getenv
(const pam_handle_t *
pamh, const char *
name);
Description
The
pam_getenv() function shall search the environment
associated with the PAM handle pamh for the
environment variable name.
If the specified environment variable cannot be found, a null pointer shall
be returned. The application shall ensure that it does not modify the string pointed to by the
pam_getenv() function.
Return Value
On success, pam_getenv() returns a pointer to a string of the form
name=value.