aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/tv/display/zsttim.x
blob: dc6c91f64bacd73fca96179eb60110a395bf8df7 (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
24
25
26
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

include <knet.h>
include <fio.h>
include	"iis.h"

# ZSTTIM -- Return status on binary file display device.

procedure zsttim (chan, what, lvalue)

int	chan[ARB], what
long	lvalue

include	"iis.com"

begin
	call zsttgd (iischan, what, lvalue)
		
	if (what == FSTT_MAXBUFSIZE) {
	    # Return the maximum transfer size in bytes.
	    if (lvalue == 0)
		lvalue = FSTT_MAXBUFSIZE
	    if (!packit)
		lvalue = min (IIS_MAXBUFSIZE, lvalue) * 2
	}
end