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

util_env_str

The util_env_str function creates an environment entry and returns it. This function does not check for non-alphanumeric symbols in the name (such as the equal sign “=”). You can use this function to create a new environment entry.

Syntax

char *util_env_str(char *name, char *value);

Returns

A newly allocated string containing the name-value pair.

Parameters

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

char *value is the new value to be stored.

See Also

util_env_replace, util_env_free, util_env_find, util_env_create