set-os-envs ( assoc -- )
Environment variables

Prev:unset-os-env ( key -- )
Next:change-os-env ( key quot -- )


Vocabulary
environment

Inputs
assocan association mapping strings to strings


Outputs
None

Word description
Replaces the current set of environment variables.

Warning
Leaks memory on Unix. If your program calls this function repeatedly, call set-os-envs-pointer with a malloced pointer and manage your memory instead.


Notes
Names and values of environment variables are operating system-specific. Windows NT allows values up to 32766 characters in length.

See also
os-env, os-envs, set-os-env, unset-os-env, set-os-envs-pointer, change-os-env, with-os-env

Definition