Lines Matching defs:env
93 void VG_(env_unsetenv) ( HChar **env, const HChar *varname )
96 vg_assert(env);
101 for (from = to = env; from && *from; from++) {
110 /* set the environment; returns the old env if a new one was allocated */
114 HChar **env = (*envp);
122 for (cpp = env; cpp && *cpp; cpp++) {
129 if (env == NULL) {
130 env = VG_(malloc)("libcproc.es.2", sizeof(HChar *) * 2);
131 env[0] = valstr;
132 env[1] = NULL;
134 *envp = env;
137 Int envlen = (cpp-env) + 2;
140 for (cpp = newenv; *env; )
141 *cpp++ = *env++;