pam_getenv
3
Linux-PAM Manual
pam_getenv
get a PAM environment variable
#include <security/pam_appl.h>
const char *pam_getenv
pam_handle_t *pamh
const char *name
DESCRIPTION
The pam_getenv function searches the
PAM environment list as associated with the handle
pamh for an item that matches the string
pointed to by name and returns the value
of the environment variable.
RETURN VALUES
The pam_getenv function returns NULL
on failure.
SEE ALSO
pam_start3
,
pam_getenvlist3
,
pam_putenv3
,
pam8