setenv (3) Linux Manual Page
setenv – change or add an environment variable Synopsis #include <stdlib.h> int setenv(const char *name, const char *value, int overwrite); int unsetenv(const char *name); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): setenv(), unsetenv(): _POSIX_C_SOURCE >= 200112L || /* Glibc versions <= 2.19: */ _BSD_SOURCE Description The setenv() function adds the variable name to the environment with the value value, if name does…
