summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/openpam_free_envlist.3
blob: b60258fcf14ee08bb0558cf223a6cca6f85ced02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.\"	$NetBSD: openpam_free_envlist.3,v 1.11 2025/09/03 16:06:25 christos Exp $
.\"
.\" Generated from openpam_free_envlist.c by gendoc.pl
.Dd May 31, 2025
.Dt OPENPAM_FREE_ENVLIST 3
.Os
.Sh NAME
.Nm openpam_free_envlist
.Nd free an environment list
.Sh SYNOPSIS
.In sys/types.h
.In security/pam_appl.h
.In security/openpam.h
.Ft "void"
.Fn openpam_free_envlist "char **envlist"
.Sh DESCRIPTION
The
.Fn 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
.Xr pam_getenvlist 3 .
.Pp
.Sh SEE ALSO
.Xr pam 3 ,
.Xr pam_getenvlist 3
.Sh STANDARDS
The
.Fn openpam_free_envlist
function is an OpenPAM extension.
.Sh AUTHORS
The
.Fn openpam_free_envlist
function and this manual page were
developed by
.An Dag-Erling Sm\(/orgrav Aq Mt des@des.dev .