aboutsummaryrefslogtreecommitdiff
path: root/sys/qpoe/qpiogetrg.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/qpoe/qpiogetrg.x')
-rw-r--r--sys/qpoe/qpiogetrg.x19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/qpoe/qpiogetrg.x b/sys/qpoe/qpiogetrg.x
new file mode 100644
index 00000000..bc2b0272
--- /dev/null
+++ b/sys/qpoe/qpiogetrg.x
@@ -0,0 +1,19 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include "qpio.h"
+
+# QPIO_GETRANGE -- Get the current range in X and Y within which events will
+# be extracted by qpio_getevents.
+
+int procedure qpio_getrange (io, vs, ve, maxdim)
+
+pointer io #I QPIO descriptor
+int vs[ARB] #O start vector (lower left corner)
+int ve[ARB] #O end vector (upper right corner)
+int maxdim #I vector length (ndim=2 at present)
+
+begin
+ call amovi (IO_VS(io,1), vs, maxdim)
+ call amovi (IO_VE(io,1), ve, maxdim)
+ return (NDIM)
+end