Sun Java System Web Server 6.1 SP9 NSAPI Programmer's Guide


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.

See Also

util_env_replace, util_env_str, util_env_free, util_env_create