Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

env_vars

fuzion.sys.env_vars

fuzion.sys.env_vars -- low-level feature to access environment variables
intrinsic to get env var with given name
intrinsic to get env var with given name

NOTE: parameter s must be 0-terminated char *
check if env var with given name exists
intrinsic to check if env var with given name exists

NOTE: parameter s must be 0-terminated char *
§set0(s Any, t Any)
 => 
bool
:
Any 
intrinsic to set env var
set the value of the env var with given name to the given new value
will overwrite the current value, if it is set
NYI: #627: rename to set once set keyword is removed
unset the env var with the given name
note this returns success (unit) if the given env var did not exist
intrinsic to unset env var