Lines Matching refs:pid
36 register int myside, hisside, pid;
44 for (pid = 0; pid < nfiles; pid++)
45 popen_pid[pid] = -1;
51 if ((pid = vfork()) == 0) {
69 if (pid == -1) {
74 popen_pid[myside] = pid;
84 int pid, status, omask;
94 while ((pid = waitpid(child, &status, 0)) != child && pid != -1)
97 return (pid == -1 ? -1 : status);