1 #include <cstdlib>
2 #include <iostream>
3 
main()4 int main() {
5   if (const char *env_p = std::getenv("FOO"))
6     std::cout << "FOO=" << env_p << '\n';
7 }
8