From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- 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