The ChorusOS environment variables (ENV) provide users and applications the ability to define configuration parameters at various stages of system construction and operation, for example at boot and run time. They also allow applications to get the values of these parameters at run time. These dynamic configuration parameters take the form of a string environment, namely, a set of string pairs (name, value).
For details, see the ENV(5FEA) man page.
The ENV API is summarized in the following table:
Function |
Description |
---|---|
sysGetEnv() |
Get a value. |
sysSetEnv() |
Set a value |
sysUnsetEnv() |
Delete a value |