|
NAME
SYNOPSIS
char **
DESCRIPTIONThe
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;
RETURN VALUESThe SEE ALSOfree(3), malloc(3), pam(3), pam_getenv(3), pam_putenv(3), pam_setenv(3), environ(7) STANDARDSX/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules, June 1997. AUTHORSThe The OpenPAM library is maintained by Dag-Erling Smørgrav <des@des.no>.
|