//============================================================================ // Name : ProcessEnviron.cpp // Author : Jim Fawcett // Version : // Copyright : copyright 2012 // Description : display Process Environment //============================================================================ #include #include using namespace std; extern char** environ; int main(int argc, char* argv[]) { char** ep; for(ep = environ; *ep != NULL; ep++) cout << "\n " << (*ep); cout << "\n\n"; return 0; }