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

util_env_replace() Function

The util_env_replace function replaces the occurrence of the variable denoted by a name in a specified environment with a specified value. Use this function to change the value of a setting in an environment.


void util_env_replace(char **env, char *name, char *value);

Return Values



char **env is the environment.

char *name is the name of a name-value pair.

char *value is the new value to be stored.

See Also

util_env_str() Function, util_env_free() Function, util_env_create() Function, util_env_create() Function