summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/doc/man/openpam_free_envlist.3
blob: f417278b3ed1bc6dcb95d1336d88b4eee856573e (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
38
.\" Generated from openpam_free_envlist.c by gendoc.pl
.\" $Id: openpam_free_envlist.c 648 2013-03-05 17:54:27Z des $
.Dd September 7, 2013
.Dt OPENPAM_FREE_ENVLIST 3
.Os
.Sh NAME
.Nm openpam_free_envlist
.Nd free an environment list
.Sh LIBRARY
.Lb libpam
.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 des@des.no .
OpenPOWER on IntegriCloud