clearenv (3) Linux Manual Page
clearenv – clear the environment Synopsis#include <stdlib.h> int clearenv(void);Feature Test Macro Requirements for glibc (see feature_test_macros(7)): clearenv(): /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE DescriptionThe clearenv() function clears the environment of all name-value pairs and sets the value of the external variable environ to NULL. After this call, new variables can be added to the environment…
