Lines Matching defs:pid
119 pid_t pid;
230 switch (pid = fork()) {
241 pidarray[procno] = pid;
276 pid = wait(&wait_stat);
277 } while (pid == -1 && errno == EINTR);
287 if (pid != -1) {
299 if (pid == pidarray[i])
303 "unknown child pid %d, <x%x>\n",
304 pid, wait_stat);
308 if ((pid = fork()) == -1) {
312 } else if (pid == 0) { /* child */
316 pidarray[i] = pid;
387 (void)printf("child %d (pid %d): seed %d, loop %d\n",
475 * time and pid. If you start several processes, then
476 * the time and pid information don't provide much