table of contents
other versions
- bookworm 1.5.2-6+deb12u1
- testing 1.5.3-7+b1
- unstable 1.5.3-7+b1
- unstable 1.7.0-2
- experimental 1.7.0-1
other sections
conflicting packages
PAM_GETENV(3) | Linux-PAM Manual | PAM_GETENV(3) |
NAME¶
pam_getenv - get a PAM environment variable
SYNOPSIS¶
#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 a pointer to the value of the environment variable. The application is not allowed to free the data.
RETURN VALUES¶
The pam_getenv function returns NULL on failure.
SEE ALSO¶
01/30/2025 | Linux-PAM |