|
PatchworkOS
3984a1d
A non-POSIX operating system.
|
#include <kernel/proc/env.h>#include <kernel/sync/mutex.h>#include <errno.h>#include <stdlib.h>#include <string.h>Go to the source code of this file.
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. | |