Environment variables


The environment vocabulary interfaces to the platform-dependent mechanism for setting environment variables.

Reading environment variables:
os-env ( key -- value )

os-envs ( -- assoc )


Writing environment variables:
set-os-env ( value key -- )

unset-os-env ( key -- )

set-os-envs ( assoc -- )

change-os-env ( key quot -- )


Leak-free setting of all environment variables on Unix:
set-os-envs-pointer ( malloc -- )