aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/libc/xwhen.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /unix/hlib/libc/xwhen.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/hlib/libc/xwhen.h')
-rw-r--r--unix/hlib/libc/xwhen.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/unix/hlib/libc/xwhen.h b/unix/hlib/libc/xwhen.h
new file mode 100644
index 00000000..90281911
--- /dev/null
+++ b/unix/hlib/libc/xwhen.h
@@ -0,0 +1,10 @@
+/* Exception handling.
+ */
+#define X_ACV 501 /* access violation */
+#define X_ARITH 502 /* arithmetic error */
+#define X_INT 503 /* keyboard interrupt */
+#define X_IPC 504 /* write to IPC with no reader */
+#define X_IGNORE NULL /* ignore exception */
+#define X_FIRST_EXCEPTION 501
+
+#define D_xwhen