xref: /freebsd/contrib/openpam/doc/man/openpam_free_envlist.3 (revision 8d20be1e22095c27faf8fe8b2f0d089739cc742e)
1.\" Generated from openpam_free_envlist.c by gendoc.pl
2.\" $Id: openpam_free_envlist.c 648 2013-03-05 17:54:27Z des $
3.Dd September 7, 2013
4.Dt OPENPAM_FREE_ENVLIST 3
5.Os
6.Sh NAME
7.Nm openpam_free_envlist
8.Nd free an environment list
9.Sh LIBRARY
10.Lb libpam
11.Sh SYNOPSIS
12.In sys/types.h
13.In security/pam_appl.h
14.In security/openpam.h
15.Ft "void"
16.Fn openpam_free_envlist "char **envlist"
17.Sh DESCRIPTION
18The
19.Fn openpam_free_envlist
20function is a convenience function which
21frees all the environment variables in an environment list, and the
22list itself.
23It is suitable for freeing the return value from
24.Xr pam_getenvlist 3 .
25.Pp
26.Sh SEE ALSO
27.Xr pam 3 ,
28.Xr pam_getenvlist 3
29.Sh STANDARDS
30The
31.Fn openpam_free_envlist
32function is an OpenPAM extension.
33.Sh AUTHORS
34The
35.Fn openpam_free_envlist
36function and this manual page were
37developed by
38.An Dag-Erling Sm\(/orgrav Aq des@des.no .
39