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/imio/iki/ikiclose.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/imio/iki/ikiclose.x')
-rw-r--r-- | sys/imio/iki/ikiclose.x | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/imio/iki/ikiclose.x b/sys/imio/iki/ikiclose.x new file mode 100644 index 00000000..e4b2ced9 --- /dev/null +++ b/sys/imio/iki/ikiclose.x @@ -0,0 +1,24 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <syserr.h> +include <imhdr.h> +include <imio.h> +include "iki.h" + +# IKI_CLOSE -- Physically close an image opened under the IKI. It is not +# necessary to update the image header or flush any pixel data, as IMIO will +# already have performed those functions. + +procedure iki_close (im) + +pointer im #I image descriptor + +int status +include "iki.com" + +begin + iferr (call zcall2 (IKI_CLOSE(IM_KERNEL(im)), im, status)) + status = ERR + if (status == ERR) + call syserrs (SYS_IKICLOSE, IM_NAME(im)) +end |