1 .\" Generated from pam_getenvlist.c by gendoc.pl
2 .\" $Id: pam_getenvlist.c 913 2017-01-21 15:11:12Z des $
8 .Nd returns a list of all the PAM environment variables
11 .In security/pam_appl.h
13 .Fn pam_getenvlist "pam_handle_t *pamh"
17 function returns a copy of the given PAM context's
18 environment list as a pointer to an array of strings.
19 The last element in the array is
21 The pointer is suitable for assignment to
24 The array and the strings it lists are allocated using
27 should be released using
32 char **envlist, **env;
35 environ = pam_getenvlist(pamh);
36 /* do something nifty */
37 for (env = environ; *env != NULL; env++)
58 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
64 function and this manual page were
67 Project by ThinkSec AS and Network Associates Laboratories, the
68 Security Research Division of Network Associates, Inc.\& under
69 DARPA/SPAWAR contract N66001-01-C-8035
71 as part of the DARPA CHATS research program.
73 The OpenPAM library is maintained by
74 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .