aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/gki/gkieof.x
blob: 0570015669af85e8bad5e4e52325b30fa5f04236 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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