Lines Matching defs:pid
79 * be updated to contain the pid of each new process. The
162 int pid;
171 if ((pid = fork()) == -1) {
181 switch (pid) {
191 Forker_pids[Forker_npids - 1] = pid;
198 if ((pid = fork()) == -1) {
208 switch (pid) {
217 Forker_pids[Forker_npids - 1] = pid;
264 printf("After background() ret:%d, pid = %d\n", ret, getpid());
268 printf("forker(%d, %d, %s) ret:%d, pid = %d, sleeping 30 seconds.\n",
275 printf("%d ind:%-2d pid:%d\n", getpid(), ind, Forker_pids[ind]);