GCLOSE_GKS(3NCARG)
π gclose_gks β NCAR GRAPHICS, section 3NCARG π
okay bestie, gather round, it's time to say bye-bye to GKS π«Ά
β¨ NAME β¨
gclose_gks β closes the GKS package. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
#include <ncarg/gks.h>
void gclose_gks( void );
look at her. no arguments. no return value. no drama. iconic behavior honestly β¨
π¦ USAGE π¦
so when you call gclose_gks, it insures that the graphics package is properly terminated. that's the vibe. clean exit, no loose ends, main character energy on the way out the door π
β οΈ but listen β no graphics calls depending on GKS should be made during the time that GKS is closed. like, she's asleep. do not poke the sleeping GKS. not the move. π
now here's the tea π: if output to a CGM has been the exclusive requirement of the graphics job, and the SPPS entry c_opngks has been used to open GKS and to open and activate a CGM workstation, then you can use c_clsgks instead β it deactivates and closes the CGM workstation, and closes GKS too. which means calling gclose_gks directly is unnecessary in that case. two roads, same destination, we love options π
π ACCESS π
to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. that's the whole access situation, bestie, no gatekeeping here π
π 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
go read those, iykyk πβ¨
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
and that's the whole page, no cap π this was the NCAR GRAPHICS manual, GCLOSE_GKS(3NCARG), dated March 1993, living in the UNIX corner of the world. periodt. π
β¨π¦
π¦ 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