Searched refs:pidarray (Results 1 – 8 of 8) sorted by relevance
118 pid_t *pidarray = NULL; in main() local200 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) { in main()206 *(pidarray + i) = 0; in main()241 pidarray[procno] = pid; in main()299 if (pid == pidarray[i]) in main()310 pidarray[i] = 0; in main()316 pidarray[i] = pid; in main()348 (void)kill(pidarray[i], SIGKILL); /* failure? oh well. */ in main()
272 pid_t *pidarray; in run() local282 pidarray = SAFE_MALLOC(nprocs * sizeof(pid_t)); in run()285 *(pidarray + i) = 0; in run()306 pidarray[i] = pid; in run()318 if (pid == pidarray[i]) in run()329 pidarray[i] = pid; in run()
169 pid_t *pidarray = NULL; local334 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) {340 *(pidarray + i) = 0;394 pidarray[procno] = pid;437 if (pid == pidarray[i])454 pidarray[i] = 0;460 pidarray[i] = pid;488 (void)kill(pidarray[i], SIGUSR1);
57 static int pidarray[MAXNPROCS]; variable198 memset(pidarray, 0, sizeof(pidarray)); in dotest_iteration()212 pidarray[i] = pid; in dotest_iteration()361 if (pidarray[i] > 0) { in term()362 if (kill(pidarray[i], SIGTERM) < 0) { in term()
54 static int pidarray[MAXNPROCS]; variable177 pidarray[i] = pid; in main()335 if (pidarray[i] > 0) { in term()336 if (kill(pidarray[i], SIGTERM) < 0) { in term()
55 static int pidarray[MAXNPROCS]; variable167 pidarray[i] = pid; in main()
52 static int pidarray[MAXNPROCS]; variable173 pidarray[i] = pid; in main()
79 static int pidarray[NPROCS]; variable125 pidarray[i] = pid; in main()300 if (kill(pidarray[i], SIGTERM) != 0) { in term()302 pidarray[1]); in term()