aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/libc/xwhen.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /unix/hlib/libc/xwhen.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
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