man > PAM_MISC_DROP_ENV(3)

PAM_MISC_DROP_ENV(3)                      Linux-PAM Manual                      PAM_MISC_DROP_ENV(3)



NAME
       pam_misc_drop_env - liberating a locally saved environment

SYNOPSIS
       #include <security/pam_misc.h>

       int pam_misc_drop_env(char **env);

DESCRIPTION
       This function is defined to complement the pam_getenvlist(3) function. It liberates the
       memory associated with env, overwriting with 0 all memory before free()ing it.

SEE ALSO
       pam_getenvlist(3), pam(7)

STANDARDS
       The pam_misc_drop_env function is part of the libpam_misc Library and not defined in any
       standard.



Linux-PAM Manual                             06/08/2020                         PAM_MISC_DROP_ENV(3)

Generated by phpman v4.9.22-1-g1b0fcb4 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-05 09:01 @216.73.216.52
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!