OPENPAM_FREE_ENVLIST(3) | Library Functions Manual | OPENPAM_FREE_ENVLIST(3) |
openpam_free_envlist
—
free an environment list
Pluggable Authentication Module Library (libpam, -lpam)
#include
<sys/types.h>
#include <security/pam_appl.h>
#include
<security/openpam.h>
void
openpam_free_envlist
(char
**envlist);
The openpam_free_envlist
function is a
convenience function which frees all the environment variables in an
environment list, and the list itself. It is suitable for freeing the return
value from
pam_getenvlist(3).
The openpam_free_envlist
function is an
OpenPAM extension.
The openpam_free_envlist
function and this
manual page were developed for the FreeBSD Project
by ThinkSec AS and Network Associates Laboratories, the Security Research
Division of Network Associates, Inc. under DARPA/SPAWAR contract
N66001-01-C-8035 (“CBOSS”), as part of the DARPA CHATS
research program.
December 21, 2007 | macOS 15.2 |