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