#include <stdlib.h>
char *getenv(name) char *name;
getenv() searches the environment list (see environ.5v 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 NULL.
On success, getenv() returns a pointer to a string containing the value for the specified name. If the specified name cannot be found, it returns NULL.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97