aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/gks/gopwk.x
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /sys/gio/gks/gopwk.x
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/gio/gks/gopwk.x')
-rw-r--r--sys/gio/gks/gopwk.x23
1 files changed, 23 insertions, 0 deletions
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