GINQ_OP_ST(3NCARG)
π GINQ_OP_ST π
okay bestie, welcome to GINQ_OP_ST(3NCARG) β yes that's the real name, we're in the NCAR GRAPHICS section of the manual and this little function is your new fave, no cap. She does one job and she does it flawlessly: she tells you what GKS is up to right now. vibe check for your graphics state β¨
β¨ NAME β¨
ginq_op_st β returns the operating state of GKS
(short king. iconic. we love her π )
π¦ SYNOPSIS π¦
#include <ncarg/gks.h>
void ginq_op_st(Gop_st *op_st);
literally that's it. two lines. she's low maintenance and I respect that so much π«Ά
πΈ DESCRIPTION πΈ
so here's the tea:
op_stβ (Output) β she hands back the GKS operating state, and it's gonna be one of these five besties:GST_GKCLβ GKS is closed π (she's not even here rn)GST_GKOPβ GKS is open β¨ (we're so back)GST_WSOPβ additionally, a workstation is open πGST_WSACβ additionally, a workstation is active π₯GST_SGOPβ additionally, a segment is open π
it's giving "escalating levels of commitment" and honestly? each one is a little more main character than the last. the state you get is cumulative vibes, not either/or β read them in order and you'll see how deep in we are.
π ACCESS π
to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. both. like, you can't skip one, that's not a thing. load them, periodt. π
π SEE ALSO π
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
(go read the whole friend group, iykyk π)
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay that's the whole page bestie, you ate it, I'm obsessed π
signing off from the UNIX manual, dated March 1993, still serving GINQ_OP_ST(3NCARG) energy to this day β bye babes πβ¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms