xref: /freebsd/contrib/openpam/doc/man/openpam_free_envlist.3 (revision 076ad2f836d5f49dc1375f1677335a48fe0d4b82)
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 February 19, 2017
4.Dt OPENPAM_FREE_ENVLIST 3
5.Os
6.Sh NAME
7.Nm openpam_free_envlist
8.Nd free an environment list
9.Sh SYNOPSIS
10.In sys/types.h
11.In security/pam_appl.h
12.In security/openpam.h
13.Ft "void"
14.Fn openpam_free_envlist "char **envlist"
15.Sh DESCRIPTION
16The
17.Fn openpam_free_envlist
18function is a convenience function which
19frees all the environment variables in an environment list, and the
20list itself.
21It is suitable for freeing the return value from
22.Xr pam_getenvlist 3 .
23.Pp
24.Sh SEE ALSO
25.Xr pam 3 ,
26.Xr pam_getenvlist 3
27.Sh STANDARDS
28The
29.Fn openpam_free_envlist
30function is an OpenPAM extension.
31.Sh AUTHORS
32The
33.Fn openpam_free_envlist
34function and this manual page were
35developed by
36.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
37