blob: 9112021c6aa59170fe831d46a26bae786746f102 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# IMDELE -- Delete an image (both the header file and the pixel file).
# It is not an error if there is no pixel file.
procedure imdele (image, ier)
% character*(*) image
int ier # receives error status
pointer sp, imname
begin
call smark (sp)
call salloc (imname, SZ_PATHNAME, TY_CHAR)
call f77upk (image, Memc[imname], SZ_PATHNAME)
call imdelx (Memc[imname], ier)
call sfree (sp)
end
|