Searched refs:pidarray (Results 1 – 8 of 8) sorted by relevance
119 pid_t *pidarray = NULL; in main() local201 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) { in main()207 *(pidarray + i) = 0; in main()242 pidarray[procno] = pid; in main()300 if (pid == pidarray[i]) in main()311 pidarray[i] = 0; in main()317 pidarray[i] = pid; in main()349 (void)kill(pidarray[i], SIGKILL); /* failure? oh well. */ in main()
144 pid_t *pidarray = NULL; local293 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) {299 *(pidarray + i) = 0;346 pidarray[procno] = pid;377 if (pid == pidarray[i])387 pidarray[i] = 0;393 pidarray[i] = pid;425 (void)kill(pidarray[i], SIGKILL);
170 pid_t *pidarray = NULL; local337 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) {343 *(pidarray + i) = 0;397 pidarray[procno] = pid;440 if (pid == pidarray[i])457 pidarray[i] = 0;463 pidarray[i] = pid;491 (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()
52 static int pidarray[MAXNPROCS]; variable164 pidarray[i] = pid; in main()
55 static int pidarray[MAXNPROCS]; variable167 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()