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/gks/gopwk.x | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sys/gio/gks/gopwk.x (limited to 'sys/gio/gks/gopwk.x') diff --git a/sys/gio/gks/gopwk.x b/sys/gio/gks/gopwk.x new file mode 100644 index 00000000..baa040e3 --- /dev/null +++ b/sys/gio/gks/gopwk.x @@ -0,0 +1,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 -- cgit