Lines Matching defs:pid
79 pid_t pid;
637 pid = fork();
638 if (pid < 0)
650 else if (pid > 0)
674 (void) waitfor(pid);
703 pid = fork();
704 if (pid > 0)
716 if (pid < 0)
1063 ** Modifies the ==> LOCAL <== variable 'pid', leaving:
1064 ** pid of child in parent, zero in child.
1084 pid = fORKfN();\
1085 if (pid >= 0)\
1098 ** pid of child in parent.
1109 register pid_t pid = -1;
1112 return pid;
1312 volatile pid_t pid = -1;
1882 ** zero pid to indicate that we are running IPC.
2353 /* pid is set by DOFORK */
2355 if (pid < 0)
2369 else if (pid == 0)
2797 mci->mci_pid = pid;
5168 register pid_t pid = -1;
5293 if (pid < 0)
5295 else if (pid == 0)
5696 st = waitfor(pid);