|
|
1.1 root 1: /***************************************************************************
2: * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE *
3: * is provided to you without charge, and with no warranty. You may give *
4: * away copies of JOVE, including sources, provided that this notice is *
5: * included in all the files. *
6: ***************************************************************************/
7:
8: #if defined(BSD_WAIT)
9: # include <sys/wait.h>
10: # define w_termsignum(w) ((w).w_termsig)
11: #else
12: # define WIFSTOPPED(w) (((w).w_status & 0377) == 0177)
13: # define WIFEXITED(w) (((w).w_status & 0377) == 0)
14: # define WIFSIGNALED(w) ((((w).w_status >> 8) & 0377) == 0)
15: # define w_termsignum(w) ((w).w_status & 0177)
16: # define wait2(w, x) wait(w)
17:
18: union wait {
19: int w_status;
20: };
21: #endif
22:
23: extern void
24: kill_off proto((int, union wait));
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.