From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/imio/iki/ikiclose.x | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sys/imio/iki/ikiclose.x (limited to 'sys/imio/iki/ikiclose.x') 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 +include +include +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 -- cgit