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