diff options
author | Peter Wemm <peter@FreeBSD.org> | 2004-04-15 01:01:56 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2004-04-15 01:01:56 +0000 |
commit | 10bfecb8b52fe1781d1b496d2b47fff0e15c0806 (patch) | |
tree | fd220ac1ddaebaa4a730f86d6f727fb639279056 /contrib/cvs/lib/wait.h | |
parent | c8ae5f056296ca06d45a165f9c8588a777b19a89 (diff) |
Notes
Diffstat (limited to 'contrib/cvs/lib/wait.h')
-rw-r--r-- | contrib/cvs/lib/wait.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/cvs/lib/wait.h b/contrib/cvs/lib/wait.h index 60ed47a2724a3..81df93850501f 100644 --- a/contrib/cvs/lib/wait.h +++ b/contrib/cvs/lib/wait.h @@ -27,6 +27,9 @@ #ifndef WIFEXITED #define WIFEXITED(w) (((w) & 0xff) == 0) #endif +#ifndef WCOREDUMP /* not POSIX, but common and useful */ +#define WCOREDUMP(w) (((w) & 0x80) != 0) +#endif #ifndef WSTOPSIG #define WSTOPSIG(w) (((w) >> 8) & 0xff) |