The util_env_find function locates the string denoted by a name in a specified environment and returns the associated value. Use this function to find an entry in an environment.
char *util_env_find(char **env, char *name);
The value of the environment variable if it is found, or NULL if the string was not found.
char **env is the environment.
char *name is the name of an environment variable in env.