aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/libc/xwhen.h
diff options
context:
space:
mode:
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