Get the value of an environment variablechar *sm_getenv(char *varname);
- The name of the environment variable whose value is desired.
.The environment variable table or Panther's copy of this table is searched for the variable named varname. If the variable is found, its value is returned, else the null string ("") is returned.
vars oracle_home = sm_getenv("ORACLE_HOME")