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

util_env_replace

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.

Syntax

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

Returns

void

Parameters

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, util_env_free, util_env_find, util_env_create