/*++ /* NAME /* clean_env 3 /* SUMMARY /* clean up the environment /* SYNOPSIS /* #include <clean_env.h> /* /* void clean_env(preserve_list) /* const char **preserve_list; /* /* void update_env(preserve_list) /* const char **preserve_list; /* DESCRIPTION /* clean_env() reduces the process environment to the bare minimum. /* The function takes a null-terminated list of arguments. /* Each argument specifies the name of an environment variable /* that should be preserved, or specifies a name=value that should /* be entered into the new environment. /* /* update_env() applies name=value settings, but otherwise does not /* change the process environment. /* DIAGNOSTICS /* Fatal error: out of memory. /* SEE ALSO /* safe_getenv(3), guarded getenv() /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.