aboutsummaryrefslogtreecommitdiff
path: root/sys/etc/locva.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/etc/locva.x')
-rw-r--r--sys/etc/locva.x13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/etc/locva.x b/sys/etc/locva.x
new file mode 100644
index 00000000..d3cc3bea
--- /dev/null
+++ b/sys/etc/locva.x
@@ -0,0 +1,13 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# LOCVA -- Return the address (in CHAR units) of a variable.
+
+int procedure locva (variable)
+
+int variable # data object to be addressed
+int address
+
+begin
+ call zlocva (variable, address)
+ return (address)
+end