From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/gio/gki/gkieof.x | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sys/gio/gki/gkieof.x (limited to 'sys/gio/gki/gkieof.x') 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 +include + +# 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 -- cgit