2 putenv - set the value of an environment variable
14 This function will set or change the value of an environment variable.
15 Zero is returned if the environment variable was successfully set,
16 otherwise a non-zero result is returned.
18 When called with 1 arg, env must be a string of the form:
22 This sets the environment variable "envname" to the value "envval".
24 The 2 arg form is equivalent to:
26 putenv(strcat(env, "=", val))
30 > putenv("name", "value")
38 > isnull(getenv("unknown"))
42 With 1 arg, env must contain at least 1 '=' character.