Lines Matching refs:pid
220 pid_t pid; /* 0 if exited */ member
1386 printf("[%d] %d\n", thejob->jobid, thejob->progs[0].pid);
1387 last_bg_pid = thejob->progs[0].pid;
1433 if (fg_pipe->progs[i].pid == childpid) {
1444 while (prognum < pi->num_progs && pi->progs[prognum].pid != childpid) {
1459 pi->progs[prognum].pid = 0;
1693 if (!(child->pid = fork())) {
1738 pi->pgrp = child->pid;
1742 setpgid(child->pid, pi->pgrp);
2658 int pid, channel[2]; local
2660 pid=fork();
2661 if (pid<0) {
2663 } else if (pid==0) {
2677 debug_printf("forked child %d\n",pid);