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

util_env_find

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.

Syntax

char *util_env_find(char **env, char *name);

Returns

The value of the environment variable if it is found, or NULL if the string was not found.

Parameters

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