Manual Page Search Parameters
openpam_free_envlist(3) free an environment list
openpam, openpam_borrow_cred, openpam_free_data, openpam_free_envlist, openpam_get_feature, openpam_get_option, openpam_log, openpam_nullconv, openpam_readline, openpam_readlinev, openpam_readword, openpam_restore_cred, openpam_set_feature, openpam_set_option, openpam_straddch, openpam_subst, openpam_ttyconv, pam_error, pam_get_authtok, pam_info, pam_prompt, pam_setenv, pam_verror, pam_vinfo, pam_vprompt(3) Pluggable Authentication Modules Library

OPENPAM_FREE_ENVLIST(3) MidnightBSD Library Functions Manual OPENPAM_FREE_ENVLIST(3)

openpam_free_envlistfree an environment list

#include <sys/types.h>
#include <security/pam_appl.h>
#include <security/openpam.h>

void
openpam_free_envlist(char **envlist);

The () 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).

pam(3), pam_getenvlist(3)

The openpam_free_envlist() function is an OpenPAM extension.

The openpam_free_envlist() function and this manual page were developed by Dag-Erling Smørgrav <des@des.no>.

February 24, 2019 midnightbsd-3.1