Searched refs:wpid (Results 1 – 9 of 9) sorted by relevance
/original-bsd/old/init/ |
H A D | init.c | 284 if (p->wpid == pid || p->wpid == -1) in multiple() 288 if (p->wpid) in multiple() 289 kill(p->wpid, SIGHUP); in multiple() 401 if (p->wpid > 0) 402 kill(p->wpid, SIGHUP); 485 if (p->wpid == pid) in idle() 486 p->wpid = -1; in idle() 498 if (p->wpid != 0) { 499 kill(p->wpid, SIGKILL); 501 p->wpid = 0; [all …]
|
/original-bsd/usr.bin/ex/ |
H A D | ex_unix.c | 341 int wpid; in waitfor() local 345 wpid = wait((int *)&stat); in waitfor() 346 if (wpid == pid) { in waitfor() 348 rpid = wpid; in waitfor() 350 } while (wpid != -1); in waitfor()
|
/original-bsd/sbin/init/ |
H A D | init.c | 519 pid_t pid, wpid; in single_user() local 622 collect_child(wpid); in single_user() 623 if (wpid == -1) { in single_user() 629 if (wpid == pid && WIFSTOPPED(status)) { in single_user() 632 wpid = -1; in single_user() 663 pid_t pid, wpid; in runcom() local 703 collect_child(wpid); in runcom() 704 if (wpid == -1) { in runcom() 711 if (wpid == pid && WIFSTOPPED(status)) { in runcom() 715 wpid = -1; in runcom() [all …]
|
/original-bsd/old/crypt/ |
H A D | crypt.c | 24 int pid, wpid; local 43 while ((wpid = wait((int *)NULL)) != -1 && wpid != pid)
|
/original-bsd/contrib/connectd/cd/ |
H A D | main.c | 613 if (p->wpid == pid || p->wpid == -1) in multiple() 617 if (p->wpid) in multiple() 618 kill(p->wpid, SIGHUP); in multiple() 731 if (p->wpid > 0) 732 kill(p->wpid, SIGHUP); 861 if (p->wpid == pid) in idle() 862 p->wpid = -1; in idle() 874 if (p->wpid != 0) { 875 kill(p->wpid, SIGKILL); 877 p->wpid = 0; [all …]
|
/original-bsd/usr.sbin/sendmail/EPA/mldistrib/ |
H A D | mldistrib.c | 474 pid_t wpid; local 479 wpid = waitpid(pid, &pstat, 0); 480 } while (wpid == -1 && errno == EINTR);
|
/original-bsd/local/transcript/src/ |
H A D | pscomm.c | 210 int wpid; local 629 gotemt,intrup,wpid,status)); 630 wpid = wait(&status); 631 if (wpid == -1) break; 644 while ((wpid = wait(&status)) > 0) 652 debugp((stderr,"w2: s%lo p%d = p%d\n", status, wpid, cpid));
|
/original-bsd/usr.bin/at/at/ |
H A D | at.c | 301 int wpid, status; local 307 wpid = wait(&status); 308 if (wpid != pid || status) {
|
/original-bsd/usr.bin/sccs/ |
H A D | sccs.c | 670 register int wpid; local 707 while ((wpid = wait(&st)) != -1 && wpid != i)
|