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/pmio/miostati.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/pmio/miostati.x')
-rw-r--r-- | sys/pmio/miostati.x | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/pmio/miostati.x b/sys/pmio/miostati.x new file mode 100644 index 00000000..3f492daa --- /dev/null +++ b/sys/pmio/miostati.x @@ -0,0 +1,27 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <syserr.h> +include <pmset.h> +include "mio.h" + +# MIO_STATI -- Stat an MIO parameter. + +int procedure mio_stati (mp, param) + +pointer mp #I MIO descriptor +int param #I parameter to be set + +begin + switch (param) { + case P_PMDES: + return (M_PM(mp)) + case P_IMDES: + return (M_IM(mp)) + case P_REGCOORDS: + return (M_REGCOORDS(mp)) + case P_PMCLOSE: + return (M_PMCLOSE(mp)) + default: + call syserr (SYS_PLINVPAR) + } +end |