- public string[] @get ()
Gets the list of environment variables for the current process.
- public unowned string? get_variable (string[]? envp, string variable)
Returns the value of the environment variable variable
in the
provided list envp
.
- public string[] set_variable (owned string[]? envp, string variable, string value, bool overwrite = true)
Sets the environment variable variable
in the provided list
envp
to value
.
- public string[] unset_variable (owned string[]? envp, string variable)
Removes the environment variable variable
from the provided
environment envp
.