diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /sys/gio/gki/gkieof.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/gio/gki/gkieof.x')
-rw-r--r-- | sys/gio/gki/gkieof.x | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/gio/gki/gkieof.x b/sys/gio/gki/gkieof.x new file mode 100644 index 00000000..05700156 --- /dev/null +++ b/sys/gio/gki/gkieof.x @@ -0,0 +1,23 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include <config.h> +include <gki.h> + +# GKI_EOF -- Signal end of file on a metacode stream. +# +# BOI GKI_EOF 0 +# +# L(i) set to the constant 3 (no data fields) + +procedure gki_eof (fd) + +int fd # output file + +short gki[GKI_EOF_LEN] +data gki[1] /BOI/, gki[2] /GKI_EOF/, gki[3] /LEN_GKIHDR/ +include "gki.com" + +begin + if (!IS_INLINE(fd)) + call write (gk_fd[fd], gki, GKI_EOF_LEN * SZ_SHORT) +end |