Home
last modified time | relevance | path

Searched refs:child_pids (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c128 int *child_pids; in reproduce() local
132 child_pids = SAFE_MALLOC(cleanup, sizeof(int) * child_pairs * 2); in reproduce()
159 child_pids[child_count++] = child_pid; in reproduce()
178 kill(child_pids[i], SIGKILL); in reproduce()
183 if (waitpid(child_pids[i], &status, 0) == -1) in reproduce()
185 child_pids[i]); in reproduce()
189 free(child_pids); in reproduce()
/external/llvm-project/compiler-rt/test/profile/ContinuousSyncMode/
Donline-merging.c100 pid_t child_pids[num_child_procs_to_spawn]; in main() local
110 int ret = posix_spawn(&child_pids[I], argv[0], NULL, NULL, child_argv, in main()
118 DEBUG("Spawned child %d (pid = %d).\n", I, child_pids[I]); in main()
125 waitpid(child_pids[I], &status, 0); in main()