pam_getenvlist - returns a list of all the PAM environment variables
#include <security/pam_appl.h>
char** pam_getenvlist (
pam_handle_t *pamh,
);
Thepam_getenvlist() function returns a pointer to a list of all the PAM environment variables.The PAM library module allocates memory for the returned value. The calling calling application is responsible for freeing this memory.
The arguments for
pam_getenvlist() are:
- pamh (in)
The PAM authentication handle, obtained from a previous call topam_start() .
Thepam_getenvlist() returns a pointer to a list of all the PAM environment variables. If no values are set, a NULL pointer is returned.
Contents | Next section | Index |