Lines Matching refs:ENV
81 static const char *ENV[32]; variable
124 for (n = 0; n < (ARRAY_SIZE(ENV) - 1); n++) { in add_environment()
127 if (ENV[n] != NULL) { in add_environment()
128 size_t entry_key_len = strcspn(ENV[n], "="); in add_environment()
129 if ((entry_key_len == key_len) && (strncmp(ENV[n], key, entry_key_len) == 0)) { in add_environment()
130 free((char*)ENV[n]); in add_environment()
131 ENV[n] = NULL; in add_environment()
136 if (ENV[n] == NULL) { in add_environment()
139 ENV[n] = entry; in add_environment()
321 for (size_t n = 0; ENV[n]; n++) { in service_start()
322 INFO("env[%zu] = '%s'\n", n, ENV[n]); in service_start()
355 if (execve(svc->args[0], (char**) svc->args, (char**) ENV) < 0) { in service_start()
374 execve(svc->args[0], (char**) arg_ptrs, (char**) ENV); in service_start()