Home | History | Annotate | Download | only in stdlib

Lines Matching refs:environ

215 	for (num_entries = 0; environ[num_entries] != NULL; num_entries++) {
216 node = rb_tree_find_node(&env_tree, environ[num_entries]);
232 if (environ == allocated_environ) {
234 (void)memset(&environ[num_entries + 1], 0,
236 sizeof(*environ));
260 if (environ != NULL) {
261 while (environ[num_entries] != NULL) {
262 if (strncmp(environ[num_entries], name, l_name) == 0 &&
263 environ[num_entries][l_name] == '=') {
275 /* Does the environ need scrubbing? */
276 if (environ != allocated_environ && allocated_environ != NULL)
281 if (environ == allocated_environ &&
299 if (environ == allocated_environ) {
300 new_environ = environ;
315 (void)memcpy(new_environ, environ,
324 environ = allocated_environ = new_environ;
338 return (offset != -1) ? environ[offset] + l_name + 1 : NULL;
357 return environ[offset] + l_name + 1;