aboutsummaryrefslogtreecommitdiff
path: root/sys/qpoe/qpiogetrg.x
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/qpoe/qpiogetrg.x
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
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