Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil_helper.c139 char **new_environ, *endptr; in hal_set_proc_title_init() local
155 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()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetenv.c215 const char **new_environ; in addtoenv() local
311 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()