getenv function — Gets environment variable
char* getenv(const char* name)
The getenv
function obtains
the value of an environment variable. The environment is a
system-defined list of name/value pairs. The getenv
function searches the environment
for name
and returns the
associated value. The getenv
function returns a null pointer if the specified name is not
found.