GCLWK(3NCARG)

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

πŸ’– GCLWK πŸ’– (aka Close Workstation, from the NCAR Graphics fam)

okay bestie, listen. this is a page from the NCAR GRAPHICS manual, section 3NCARG, and it's all about the one little subroutine that ends the party. πŸŽ€


✨ NAME ✨

GCLWK (Close workstation) β€” literally just closes a workstation. that's it. that's the whole job. πŸ’…


✨ SYNOPSIS ✨

CALL GCLWK (WKID)

✨ C-BINDING SYNOPSIS ✨

if you're riding with C instead of Fortran, no worries, there's a binding for you 🫢

#include <ncarg/gks.h>

void gclose_ws(Gint ws_id);

✨ DESCRIPTION ✨

  • WKID (Input, Integer) β€” a number that IDs the workstation you wanna close. and bestie, WKID has to be the same number you used in some previous GOPWK call. same number, no substitutions. πŸ™ˆ

✨ USAGE ✨

so what actually happens when you close a workstation? a few things, and they all matter:

  • it updates the workstation
  • it removes its identifier from the set of open workstations
  • the connection to the workstation is released
  • and the associated connection ID becomes available for re-use 🌈

basically it's the polite way to say bye and free up your seat for the next one. πŸ‘‘


✨ ACCESS ✨

to use GKS routines, you load the NCAR GKS-0A library ncarg_gks. that's the vibe. πŸ¦‹


✨ SEE ALSO ✨

Online: gopks, gopwk, gacwk, gdawk, gclks, opngks, clsgks, gclear_ws

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.


lowkey important, highkey iconic: that license agreement is not a suggestion, bestie. read it. πŸ“œ

and that's the whole page, no cap. this was GCLWK(3NCARG) from the NCAR GRAPHICS manual, dated March 1993, and it ate. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from