Module env

Module env 

Source
Expand description

Environment variables

This module is only available with libc feature

Note that it limits environment variable names to 1024, and asserts in debug mod against using bigger names.

§Required features:

  • memory

Enums§

EnvError
Possible errors when getting environment variable.

Functions§

get_var
Gets environment variable using getenv
set_var
Sets environment variable using setenv.
unset_var
Unsets environment variable using unsetenv.