1PAM_GETENV(3)                  Linux-PAM Manual                  PAM_GETENV(3)
2
3
4

NAME

6       pam_getenv - get a PAM environment variable
7

SYNOPSIS

9       #include <security/pam_appl.h>
10
11       const char *pam_getenv(pam_handle_t *pamh, const char *name);
12

DESCRIPTION

14       The pam_getenv function searches the PAM environment list as associated
15       with the handle pamh for an item that matches the string pointed to by
16       name and returns a pointer to the value of the environment variable.
17       The application is not allowed to free the data.
18

RETURN VALUES

20       The pam_getenv function returns NULL on failure.
21

SEE ALSO

23       pam_start(3), pam_getenvlist(3), pam_putenv(3), pam(8)
24
25
26
27Linux-PAM Manual                  09/19/2013                     PAM_GETENV(3)
Impressum