aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/gks/gopwk.x
blob: baa040e35be8ce474f62edb8472d7a1eddf46353 (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	"gks.h"

# GOPWK -- Open workstation.

procedure gopwk (wkid, conid, wtype)

int	wkid		# Workstation identifier
int	conid		# Connection identifier, not used.
int	wtype		# Workstation type 

include	"gks.com"


begin
	# This procedure sets "gp[wkid]" to be the "gp" of workstation "wkid".
	# Procedure gopen has been called by the calling routine.  The wkid
	# runs sequentially from 1 to the maximum allowable number of open
	# workstations.  Parameter wtype is the gp returned from gopen.

	gp[wkid] = wtype
end