Searched refs:__env_map (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/src/internal/
H A Denv_impl.h5 extern char** __env_map ATTR_LIBC_VISIBILITY;
/fuchsia/zircon/third_party/ulib/musl/src/env/
H A Dputenv.c7 char** __env_map; variable
23 if (!__env_map) {
24 __env_map = calloc(2, sizeof(char*));
25 if (__env_map)
26 __env_map[0] = s;
28 for (; __env_map[j] && __env_map[j] != __environ[i]; j++)
30 if (!__env_map[j]) {
31 newmap = realloc(__env_map, sizeof(char*) * (j + 2));
33 __env_map
[all...]
H A Dunsetenv.c20 if (__env_map) {
21 for (j = 0; __env_map[j] && __env_map[j] != __environ[i]; j++)
23 free(__env_map[j]);
24 for (; __env_map[j]; j++)
25 __env_map[j] = __env_map[j + 1];

Completed in 79 milliseconds