Lines Matching refs:pid
524 int i, pid, stat, ex_stat;
608 * Malloc space for the children pid array. Initialize all entries
638 if ((pid = fork()) == -1) {
645 Children[Nchildren] = pid;
648 if (pid == 0) {
675 if ((pid = wait(&stat)) == -1) {
681 if (Children[i] == pid)
694 "(parent) pid %d exited because of an internal error\n",
695 pid);
701 "(parent) pid %d exited because of a setup error\n",
702 pid);
708 "(parent) pid %d exited because of data compare errors\n",
709 pid);
720 "(parent) pid %d exited because of a usage error\n",
721 pid);
728 "(parent) pid %d exited with unknown status %d\n",
729 pid, WEXITSTATUS(stat));
736 "(parent) pid %d terminated by signal %d\n",
737 pid, WTERMSIG(stat));
1600 static int pid = -1;
1761 if (pid == -1) {
1762 pid = getpid();
1766 wrec.w_pid = pid;
3057 static int pid = -1;
3278 if (pid == -1) {
3279 pid = getpid();
3284 wrec.w_pid = pid;
3827 static int pid = -1;
3836 if (pid == -1) {
3837 pid = getpid();
3845 rval = fprintf(stream, "\n%s%s (%5d) %s\n", Prog, TagName, pid, date);
4457 "signal_info: si_signo %d si_errno %d si_code SI_USER pid %d uid %d\n",
5234 * regions saying what pid has what region.