The util_env_str function creates an environment entry and returns it. This function does not check for nonalphanumeric symbols in the name such as the equal sign “=”. You can use this function to create a new environment entry.
char *util_env_str(char *name, char *value);
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.