From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- pkg/xtools/icfit/icshow.x | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pkg/xtools/icfit/icshow.x (limited to 'pkg/xtools/icfit/icshow.x') diff --git a/pkg/xtools/icfit/icshow.x b/pkg/xtools/icfit/icshow.x new file mode 100644 index 00000000..d39e85d5 --- /dev/null +++ b/pkg/xtools/icfit/icshow.x @@ -0,0 +1,21 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include "icfit.h" + +# IC_SHOW -- Show the values of the parameters. + +procedure ic_show (ic, file, gt) + +pointer ic # ICFIT pointer +char file[ARB] # Output file +pointer gt # GTOOLS pointer + +int fd, open() +errchk open, ic_fshow + +begin + fd = open (file, APPEND, TEXT_FILE) + IC_GT(ic) = gt + call ic_fshow (ic, fd) + call close (fd) +end -- cgit