Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

util_env_find() Function

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);

Return Values

The value of the environment variable if the string 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() Function, util_env_str() Function, util_env_free() Function, util_env_create() Function