|
PatchworkOS
3984a1d
A non-POSIX operating system.
|
Go to the source code of this file.
Data Structures | |
| struct | env_var_t |
| Environment variable structure. More... | |
| struct | env_t |
| Environment structure. More... | |
Functions | |
| void | env_init (env_t *env) |
| Initialize the environment. | |
| void | env_deinit (env_t *env) |
| Deinitialize the environment. | |
| uint64_t | env_copy (env_t *dest, env_t *src) |
| Copy environment variables from one environment to another. | |
| const char * | env_get (env_t *env, const char *key) |
| Get the value of an environment variable. | |
| uint64_t | env_set (env_t *env, const char *key, const char *value) |
| Set the value of an environment variable. | |
| uint64_t | env_unset (env_t *env, const char *key) |
| Unset an environment variable. | |