#include #include #include int main() { assert(getenv("PATH")); putenv("foo=bar"); assert(!strcmp(getenv("foo"),"bar")); return 0; }