From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/imio/imstats.x | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sys/imio/imstats.x (limited to 'sys/imio/imstats.x') diff --git a/sys/imio/imstats.x b/sys/imio/imstats.x new file mode 100644 index 00000000..4deb5096 --- /dev/null +++ b/sys/imio/imstats.x @@ -0,0 +1,24 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include +include +include +include + +# IMSTATS -- Get an IMIO option of type string. + +procedure imstats (im, option, outstr, maxch) + +pointer im # image descriptor +int option # imset option being queried +char outstr[ARB] # output string +int maxch + +begin + switch (option) { + case IM_IMAGENAME: + call strcpy (IM_NAME(im), outstr, maxch) + default: + call imerr (IM_NAME(im), SYS_IMSTATUNKPAR) + } +end -- cgit