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

util_env_str() Function

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


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

Return Values

A newly allocated string containing the name-value pair.


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

char *value is the new value to be stored.

See Also

util_env_replace() Function, util_env_free() Function, util_env_create() Function, util_env_create() Function