blob: 33b3a9bc23b29a9fa084d6bcb080c9951a54602b (
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
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <syserr.h>
include <imhdr.h>
include <imio.h>
include "iki.h"
# IKI_OPIX -- Open or create the pixel storage file, if any. We are called by
# IMIO when i/o is first done to the image. In the case of a new image, IMIO
# will already have set up the IM_NDIM and IM_LEN fields of the image header.
procedure iki_opix (im)
pointer im #I image descriptor
int status
include "iki.com"
begin
iferr (call zcall2 (IKI_OPIX(IM_KERNEL(im)), im, status))
status = ERR
if (status == ERR)
call syserrs (SYS_IKIOPIX, IM_NAME(im))
end
|