Searched refs:new_environ (Results 1 – 2 of 2) sorted by relevance
139 char **new_environ, *endptr; in hal_set_proc_title_init() local155 new_environ = malloc (sizeof(char*) * (i + 1)); in hal_set_proc_title_init()157 new_environ[i] = strdup (environ[i]); in hal_set_proc_title_init()158 new_environ[i] = NULL; in hal_set_proc_title_init()160 environ = new_environ; in hal_set_proc_title_init()
215 const char **new_environ; in addtoenv() local311 new_environ = &new_base[(new_size - 1) - environ_size]; in addtoenv()312 (void) memcpy(new_environ, my_environ, environ_size * sizeof (char *)); in addtoenv()315 new_environ[-1] = string; in addtoenv()316 new_environ--; in addtoenv()323 my_environ = new_environ; in addtoenv()