Searched refs:wait_stat (Results 1 – 3 of 3) sorted by relevance
129 int wait_stat; in main() local277 pid = wait(&wait_stat); in main()293 if (!WIFEXITED(wait_stat) in main()294 || WEXITSTATUS(wait_stat) != 0) { in main()296 "<x%x>\n", wait_stat); in main()305 pid, wait_stat); in main()351 while (wait(&wait_stat) != -1 || errno != ECHILD) in main()
154 int wait_stat; local354 pid = wait(&wait_stat);369 if (!WIFEXITED(wait_stat)370 || WEXITSTATUS(wait_stat) != 0) {372 "<x%x>\n", wait_stat);380 "<x%x>\n", pid, wait_stat);426 while (wait(&wait_stat) != -1 || errno != ECHILD)
182 int wait_stat; local416 pid = wait(&wait_stat);431 if (!WIFEXITED(wait_stat)432 || WEXITSTATUS(wait_stat) != 0) {434 "<x%x>\n", wait_stat);444 wait_stat);449 pid, wait_stat);492 while (wait(&wait_stat) != -1 || errno != ECHILD)