ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/experimental/host/sysinfo/environment.cc
Revision: 1.1
Committed: Tue Nov 7 19:04:18 2000 UTC (24 years ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION, HEAD
Log Message:
Environment class and header file.

File Contents

# User Rev Content
1 tdb 1.1 #include "environment.hh"
2    
3     void printEnv(char *name) {
4     char *envvar;
5     envvar = getenv(name);
6    
7     cout << "environment variable \"" << name << "\": "
8     << envvar << endl;
9     }