openpam_free_envlist(3)

openpam_free_envlist3

Free an environment list

Usage

#include <sys/types.h>

#include <security/pam_appl.h>

#include <security/openpam.h>

void

openpam_free_envlist(char **envlist);

Overview

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

Releases

49 releases since FreeBSD 6.0-RELEASE; the text changed 11 times.

  1. 6.0–6.3
  2. 6.4
  3. 7.0
  4. 7.1–9.1
  5. 9.2
  6. 9.3–10.0
  7. 10.1–11.2
  8. 11.3–11.4
  9. 12.0–12.2
  10. 12.3–13.2
  11. 13.3–14.5
  12. 15.0–16.0

Standards

The openpam_free_envlist() function is an OpenPAM extension.

Authors

The openpam_free_envlist() function and this manual page were developed by Dag-Erling Smørgrav ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.