Home
last modified time | relevance | path

Searched refs:env_alloced (Results 1 – 1 of 1) sorted by relevance

/third_party/musl/src/env/
Dsetenv.c7 static char **env_alloced; in __env_rm_add() local
10 if (env_alloced[i] == old) { in __env_rm_add()
11 env_alloced[i] = new; in __env_rm_add()
14 } else if (!env_alloced[i] && new) { in __env_rm_add()
15 env_alloced[i] = new; in __env_rm_add()
19 char **t = realloc(env_alloced, sizeof *t * (env_alloced_n+1)); in __env_rm_add()
21 (env_alloced = t)[env_alloced_n++] = new; in __env_rm_add()