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/mwcs/mwgsys.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/mwcs/mwgsys.x')
-rw-r--r-- | sys/mwcs/mwgsys.x | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/mwcs/mwgsys.x b/sys/mwcs/mwgsys.x new file mode 100644 index 00000000..a1559b8f --- /dev/null +++ b/sys/mwcs/mwgsys.x @@ -0,0 +1,18 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include "mwcs.h" + +# MW_GSYSTEM -- Return the name of the current default world system. + +procedure mw_gsystem (mw, outstr, maxch) + +pointer mw #I pointer to MWCS descriptor +char outstr[ARB] #O receives name of world system +int maxch #I max chars out + +pointer wp + +begin + wp = MI_WCS(mw) + call strcpy (S(mw,WCS_SYSTEM(wp)), outstr, maxch) +end |