aboutsummaryrefslogtreecommitdiff
path: root/sys/etc/xwhen.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/etc/xwhen.x')
-rw-r--r--sys/etc/xwhen.x13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/etc/xwhen.x b/sys/etc/xwhen.x
new file mode 100644
index 00000000..948eca8f
--- /dev/null
+++ b/sys/etc/xwhen.x
@@ -0,0 +1,13 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# XWHEN -- Post an exception handler.
+
+procedure xwhen (signal, handler, old_handler)
+
+int signal # signal to be caught
+int handler # epa of user supplied exception handler
+int old_handler # epa of old handler, if any
+
+begin
+ call zxwhen (signal, handler, old_handler)
+end