60 lines
No EOL
2 KiB
XML
60 lines
No EOL
2 KiB
XML
<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="pam_misc_drop_env">
|
|
|
|
<refmeta>
|
|
<refentrytitle>pam_misc_drop_env</refentrytitle>
|
|
<manvolnum>3</manvolnum>
|
|
<refmiscinfo class="source">Linux-PAM</refmiscinfo>
|
|
<refmiscinfo class="manual">Linux-PAM Manual</refmiscinfo>
|
|
</refmeta>
|
|
|
|
<refnamediv xml:id="pam_misc_drop_env-name">
|
|
<refname>pam_misc_drop_env</refname>
|
|
<refpurpose>liberating a locally saved environment</refpurpose>
|
|
</refnamediv>
|
|
|
|
<!-- body begins here -->
|
|
|
|
<refsynopsisdiv>
|
|
<funcsynopsis xml:id="pam_misc_drop_env-synopsis">
|
|
<funcsynopsisinfo>#include <security/pam_misc.h></funcsynopsisinfo>
|
|
<funcprototype>
|
|
<funcdef>int <function>pam_misc_drop_env</function></funcdef>
|
|
<paramdef>char **<parameter>env</parameter></paramdef>
|
|
</funcprototype>
|
|
</funcsynopsis>
|
|
</refsynopsisdiv>
|
|
|
|
<refsect1 xml:id="pam_misc_drop_env-description">
|
|
<title>DESCRIPTION</title>
|
|
<para>
|
|
This function is defined to complement the <citerefentry>
|
|
<refentrytitle>pam_getenvlist</refentrytitle><manvolnum>3</manvolnum>
|
|
</citerefentry> function. It liberates the memory associated
|
|
with <parameter>env</parameter>, <emphasis>overwriting</emphasis>
|
|
with <emphasis>0</emphasis> all memory before
|
|
<function>free()</function>ing it.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 xml:id="pam_misc_drop_env-see_also">
|
|
<title>SEE ALSO</title>
|
|
<para>
|
|
<citerefentry>
|
|
<refentrytitle>pam_getenvlist</refentrytitle><manvolnum>3</manvolnum>
|
|
</citerefentry>,
|
|
<citerefentry>
|
|
<refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum>
|
|
</citerefentry>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 xml:id="pam_misc_drop_env-standards">
|
|
<title>STANDARDS</title>
|
|
<para>
|
|
The <function>pam_misc_drop_env</function> function is part of the
|
|
<command>libpam_misc</command> Library and not defined in any
|
|
standard.
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry> |