Searched refs:environ_list (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork04.c | 116 char *environ_list[] = { "TERM", "NoTSetzWq", "TESTPROG" }; variable 118 #define NUMBER_OF_ENVIRON (sizeof(environ_list)/sizeof(char *)) 150 var = getenv(environ_list[index]); in child_environment() 152 (void)sprintf(msg, "%s:%s", environ_list[index], in child_environment() 155 (void)sprintf(msg, "%s:%s", environ_list[index], var); in child_environment() 254 var = getenv(environ_list[index]); in parent_environment() 257 environ_list[index], ENV_NOT_SET); in parent_environment() 260 environ_list[index], var); in parent_environment()
|
D | fork05.c | 112 static char *environ_list[] = { "TERM", "NoTSetzWq", "TESTPROG" }; variable 114 #define NUMBER_OF_ENVIRON (sizeof(environ_list)/sizeof(char *))
|