Query: pam_getenv
OS: suse
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PAM_GETENV(3) Linux-PAM Manual PAM_GETENV(3)NAMEpam_getenv - get a PAM environment variableSYNOPSIS#include <security/pam_appl.h> const char *pam_getenv(pam_handle_t *pamh, const char *name);DESCRIPTIONThe 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 a pointer to the value of the environment variable. The application is not allowed to free the data.RETURN VALUESThe pam_getenv function returns NULL on failure.SEE ALSOpam_start(3), pam_getenvlist(3), pam_putenv(3), pam(8) Linux-PAM Manual 04/01/2010 PAM_GETENV(3)