summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/lib/wait.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-04-15 01:01:56 +0000
committerpeter <peter@FreeBSD.org>2004-04-15 01:01:56 +0000
commit3aa249bff61808355fd6b864b94fd531fd00b3b7 (patch)
tree48f5bc180abb032c255cbad668a4838647de32f2 /contrib/cvs/lib/wait.h
parentdfd3c578a82a6f926669c53ec72c55f7aba93228 (diff)
parent6045cae71a438a752980a395f03717a13cc22179 (diff)
downloadFreeBSD-src-3aa249bff61808355fd6b864b94fd531fd00b3b7.zip
FreeBSD-src-3aa249bff61808355fd6b864b94fd531fd00b3b7.tar.gz
This commit was generated by cvs2svn to compensate for changes in r128266,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/cvs/lib/wait.h')
-rw-r--r--contrib/cvs/lib/wait.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/cvs/lib/wait.h b/contrib/cvs/lib/wait.h
index 60ed47a..81df938 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)
OpenPOWER on IntegriCloud