aboutsummaryrefslogtreecommitdiff
path: root/sys/imio/iki/ikiclose.x
blob: e4b2ced9b557ba9e13edb0f6adc50550be98bd2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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