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 (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. πŸ’…βœ¨πŸ¦‹