Lines Matching refs:envp
204 int main(int argc, char** argv, char** envp) in main() argument
362 for (i = 0; envp[i]; i++) in main()
365 if (envp[i+1][0] != '/') { in main()
369 if (strlen(launcher_name) + strlen(envp[i+1]) > PATH_MAX) in main()
371 strcat(launcher_name, envp[i+1]); in main()
382 for (j = 0; envp[j]; j++) in main()
388 new_env[i] = envp[i]; in main()
392 new_env[i ] = envp[i-2]; // the 'apple' arg == the executable_path in main()
396 for (i = 0; envp[i]; i++) { in main()
397 if (0 == strncmp(envp[i], "DYLD_", 5)) { in main()
398 envp[i][0] = 'V'; /* VYLD_; changed back by initimg-darwin */ in main()