GCLOSE_GKS(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ GCLOSE_GKS ✨

okay so bestie, welcome to the NCAR Graphics corner of the 3NCARG manual, and today's main character is gclose_gks β€” the lil function whose whole job is closing the GKS package. no cap. that's it. that's the gig. πŸ’…


πŸ’– NAME πŸ’–

gclose_gks (Close GSK) β€” closes the GKS package. she's the goodbye girl, the exit interview, the "okay love u bye" of graphics routines. πŸ¦‹


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void gclose_gks( void );

that's the whole thing. no args, no returns, no drama. πŸŽ€


🫢 USAGE 🫢

so here's the tea: calling gclose_gks is what insures that the graphics package is properly terminated ✨ β€” like actually turning off the lights and locking up instead of just ghosting the party.

⚠️ important, fr fr: no graphics calls depending on GKS should be made during the time that GKS is closed. that's a closed door, not a revolving one. don't be texting GKS while she's blocked. 😭

now, there's a little shortcut situation you should know about. if output to a CGM has been the exclusive requirement of the graphics job β€” like, CGM is the only thing you needed, nothing else, periodt β€” and the SPPS entry c_opngks has been used to open GKS and to open and activate a CGM workstation, then you can just use c_clsgks instead. that one will deactivate and close the CGM workstation and close GKS in one go, which makes a direct call to gclose_gks unnecessary in that case. two birds, one iconic little function. πŸ”₯


πŸ‘‘ ACCESS πŸ‘‘

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. no libraries, no service. load them up and she's ready. 🌈


⭐ SEE ALSO ⭐

Online: gopen_gks(3NCARG), gopen_ws(3NCARG), gactivate_ws(3NCARG), gdeactivate_ws(3NCARG), gclose_ws(3NCARG), gupwk(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

iykyk, go read the friends too, they're all part of the same friend group πŸ’œ


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


and that's the page, bestie! this whole thing lives in the 3NCARG manual from NCAR GRAPHICS, and the footer vibes date allll the way back to March 1993 on UNIX. iconic longevity honestly, she ate and left no crumbs. mwah πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from