diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/gio/gescape.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/gio/gescape.x')
-rw-r--r-- | sys/gio/gescape.x | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/gio/gescape.x b/sys/gio/gescape.x new file mode 100644 index 00000000..c6a1bf63 --- /dev/null +++ b/sys/gio/gescape.x @@ -0,0 +1,19 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <gio.h> + +# GESCAPE -- Pass a device dependent instruction on to the graphics kernel. +# A unique function code should be assigned each escape function. The graphics +# kernel will ignore escapes with unrecognized function codes. + +procedure gescape (gp, fn, instruction, nwords) + +pointer gp # graphics descriptor +int fn # function code (1 - 32767) +short instruction[ARB] # instruction to be transmitted +int nwords # length of instruction + +begin + call gpl_flush() + call gki_escape (GP_FD(gp), fn, instruction, nwords) +end |