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 /pkg/images/tv/display/zsttim.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'pkg/images/tv/display/zsttim.x')
-rw-r--r-- | pkg/images/tv/display/zsttim.x | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/images/tv/display/zsttim.x b/pkg/images/tv/display/zsttim.x new file mode 100644 index 00000000..dc6c91f6 --- /dev/null +++ b/pkg/images/tv/display/zsttim.x @@ -0,0 +1,26 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <knet.h> +include <fio.h> +include "iis.h" + +# ZSTTIM -- Return status on binary file display device. + +procedure zsttim (chan, what, lvalue) + +int chan[ARB], what +long lvalue + +include "iis.com" + +begin + call zsttgd (iischan, what, lvalue) + + if (what == FSTT_MAXBUFSIZE) { + # Return the maximum transfer size in bytes. + if (lvalue == 0) + lvalue = FSTT_MAXBUFSIZE + if (!packit) + lvalue = min (IIS_MAXBUFSIZE, lvalue) * 2 + } +end |