Searches the environment area for the environment variable and returns the environment variable’s value.
#include <stdlib.h> char *getenv ( const char *name);
(IN) Points to an environment variable.
If successful, returns a pointer to the string assigned to the environment variable. If no match was found, returns a NULL pointer and sets errno to one of the following:
The matching is case-insensitive; all lowercase letters are treated as if they were uppercase.