diff options
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 |