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