|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T w
Length: 856 (0x358) Types: TextFile Names: »wait.h«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─⟦this⟧ »EUUGD11/gnu-31mar87/emacs/gdb/wait.h«
/* Define how to access the structure that the wait system call stores. On many systems, there is a structure defined for this. But on vanilla-ish USG systems there is not. */ #ifndef HAVE_WAIT_STRUCT #define WAITTYPE int #define WIFSTOPPED(w) (((w)&0377) == 0177) #define WIFSIGNALED(w) (((w)&0377) != 0177 && ((w)&~0377) == 0) #define WIFEXITED(w) (((w)&0377) == 0) #define WRETCODE(w) ((w) >> 8) #define WSTOPSIG(w) ((w) >> 8) #define WCOREDUMP(w) (((w)&0200) != 0) #define WTERMSIG(w) ((w) & 0177) #define WSETSTOP(w,sig) ((w) = (0177 | ((sig) << 8))) #else #include <sys/wait.h> #define WAITTYPE union wait #define WRETCODE(w) (w).w_retcode #define WSTOPSIG(w) (w).w_stopsig #define WCOREDUMP(w) (w).w_coredump #define WTERMSIG(w) (w).w_termsig #define WSETSTOP(w,sig) \ ((w).stopsig = (sig), (w).coredump = 0, (w).termsig = 0177) #endif