Skip to main content

Module env

Module env 

Source

Re-exportsยง

use alloc::collections::BTreeMap; ๐Ÿ”’
use alloc::string::String; ๐Ÿ”’
use super::*; ๐Ÿ”’

Staticsยง

SHELL_ENV ๐Ÿ”’

Functionsยง

cmd_env
Display all shell environment variables.
cmd_setenv
Set a shell environment variable: setenv KEY=VALUE.
cmd_unsetenv
Remove a shell environment variable: unsetenv KEY.
init_shell_env
Initialize kernel shell environment with default values.
shell_getenv
Get a shell environment variable by key.
shell_setenv
Set a shell environment variable.
shell_unsetenv
Remove a shell environment variable.