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/gopks.x | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sys/gio/gks/gopks.x (limited to 'sys/gio/gks/gopks.x') diff --git a/sys/gio/gks/gopks.x b/sys/gio/gks/gopks.x new file mode 100644 index 00000000..48f39de0 --- /dev/null +++ b/sys/gio/gks/gopks.x @@ -0,0 +1,24 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include "gks.h" + +# GOPKS -- Open GKS. In the GIO implementation, this routine sets the +# file to receive error output to STDERR and initializes all possible +# workstations to inactive. It also initializes the ASF array to GINDIV. + +procedure gopks (errfil) + +int errfil # Unit number for error output +int i +include "gks.com" + +begin + # This procedure initializes the gk_status and gk_std variables. + do i = 1, NDEV + gk_status[i] = INACTIVE + + gk_std = NULL + + do i = 1, NASF + gk_asf[i] = GINDIV +end -- cgit