xref: /freebsd/contrib/openpam/doc/man/openpam_free_envlist.3 (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1.\" Generated from openpam_free_envlist.c by gendoc.pl
2.\" $OpenPAM: openpam_free_envlist.c 938 2017-04-30 21:34:42Z des $
3.Dd February 24, 2019
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