Main index | Section 3 | Options |
#include <sys/types.h>
#include <security/pam_appl.h>
The array and the strings it lists are allocated using malloc(3), and should be released using free(3) after use:
char **envlist, **env;envlist = environ; environ = pam_getenvlist(pamh); /* do something nifty */ for (env = environ; *env != NULL; env++) free(*env); free(environ); environ = envlist;
X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules, June 1997.
The OpenPAM library is maintained by Dag-Erling Sm/orgrav <Mt des@des.no>.
PAM_GETENVLIST (3) | February 24, 2019 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | A typical Unix /bin or /usr/bin directory contains a hundred different kinds of programs, written by dozens of egotistical programmers, each with its own syntax, operating paradigm, rules of use ... strategies for specifying options, and different sets of constraints. | ” |
— The Unix Haters' handbook |