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/imfort/imfupdhdr.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/imfort/imfupdhdr.x')
-rw-r--r-- | sys/imfort/imfupdhdr.x | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/imfort/imfupdhdr.x b/sys/imfort/imfupdhdr.x new file mode 100644 index 00000000..4381fe7e --- /dev/null +++ b/sys/imfort/imfupdhdr.x @@ -0,0 +1,21 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <imhdr.h> +include "imfort.h" +include "oif.h" + +# IMF_UPDHDR -- Update the image header. + +procedure imf_updhdr (im, status) + +pointer im # image descriptor +int status # return status + +pointer fp +int imwrhdr() + +begin + fp = IM_HDRFP(im) + if (imwrhdr (fp, im, TY_IMHDR) != ERR) + IM_UPDATE(im) = NO +end |