Lines Matching refs:pid
224 pid_t pid; /* 0 if exited */ member
1390 printf("[%d] %d\n", thejob->jobid, thejob->progs[0].pid);
1391 last_bg_pid = thejob->progs[0].pid;
1437 if (fg_pipe->progs[i].pid == childpid) {
1448 while (prognum < pi->num_progs && pi->progs[prognum].pid != childpid) {
1463 pi->progs[prognum].pid = 0;
1697 if (!(child->pid = fork())) {
1743 pi->pgrp = child->pid;
1747 setpgid(child->pid, pi->pgrp);
2666 int pid, channel[2]; local
2668 pid=fork();
2669 if (pid<0) {
2671 } else if (pid==0) {
2685 debug_printf("forked child %d\n",pid);