ncl_ginq_op_st man page
ginq_op_st (Inquire operating state value) — returns the operating state of GKS.
void ginq_op_st(Gop_st *op_st);
(Output) - Returns the GKS operating state:
GKS is closed
GKS is open
Additionally, a workstation is open
Additionally, a workstation is active
Additionally, a segment is open
To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.
Online: gopen_gks(3NCARG), gopen_ws(3NCARG), gactivate_ws(3NCARG), gdeactivate_ws(3NCARG), gclose_ws(3NCARG), gclose_gks(3NCARG), opngks(3NCARG), clsgks(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.