From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/imfort/imdele.x | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys/imfort/imdele.x (limited to 'sys/imfort/imdele.x') diff --git a/sys/imfort/imdele.x b/sys/imfort/imdele.x new file mode 100644 index 00000000..9112021c --- /dev/null +++ b/sys/imfort/imdele.x @@ -0,0 +1,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 -- cgit