Lines Matching defs:pid
170 pid_t pid;
383 switch (pid = fork()) {
394 pidarray[procno] = pid;
415 pid = wait(&wait_stat);
425 if (pid != -1) {
437 if (pid == pidarray[i])
440 if (pid == wr_pid) {
447 "pid %d, <x%x>\n",
448 pid, wait_stat);
452 if ((pid = fork()) == -1) {
456 } else if (pid == 0) { /* child */
460 pidarray[i] = pid;
610 (void)printf("child %d (pid %ld): seed %d, fsize %Ld, "
615 (void)printf("child %d (pid %d): seed %d, fsize %ld, "
915 * time and pid. If you start several processes, then
916 * the time and pid information don't provide much