getenv(3)
NAME
getenv − value for environment name
SYNTAX
char *getenv(name)
char *name;
DESCRIPTION
The getenv subroutine searches the environment list for a string of the form name=value and returns a pointer to the string value if such a string is present, otherwise getenv returns the value 0 (NULL). For further information, see environ(7).