aboutsummaryrefslogtreecommitdiff
path: root/sys/ki/kzstmt.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ki/kzstmt.x')
-rw-r--r--sys/ki/kzstmt.x21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/ki/kzstmt.x b/sys/ki/kzstmt.x
new file mode 100644
index 00000000..2aaa0f45
--- /dev/null
+++ b/sys/ki/kzstmt.x
@@ -0,0 +1,21 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include <config.h>
+include "ki.h"
+
+# KZSTMT -- Device status for a magtape device.
+
+procedure kzstmt (chan, what, lvalue)
+
+int chan #I active magtape channel
+int what #I device parameter
+long lvalue #O parameter value
+
+include "kichan.com"
+
+begin
+ if (k_node[chan] == NULL)
+ call zzstmt (k_oschan[chan], what, lvalue)
+ else
+ call kb_zstt (KI_ZFIOMT, chan, what, lvalue)
+end