GCLWK(3NCARG)
β¨ GCLWK β closes a GKS workstation β¨
okay bestie, welcome to the NCAR GRAPHICS corner of the manual, page GCLWK(3NCARG). this one is short, sweet, and honestly so satisfying. it's giving closure. literally. π
π SYNOPSIS π
CALL GCLWK (WKID)
that's it. one call. one argument. we love a low-effort queen. π
π¦ C-BINDING SYNOPSIS π¦
for my C girlies, here's the same energy in a different font:
#include <ncarg/gks.h>
void gclose_ws(Gint ws_id);
yes, the header is ncarg/gks.h and yes, the function is gclose_ws β the Fortran girlies get GCLWK, the C girlies get gclose_ws, and everybody goes home happy. π
πΈ DESCRIPTION πΈ
WKIDβ (Input, Integer) β the number that identifies the workstation you wanna close. and listen, this is the important part:WKIDmust be the exact same number you used in some previousGOPWKcall. no making up new numbers. no "close enough". it's the same one. periodt. π
π USAGE π
so what does closing a workstation actually do, you ask? so glad you asked bestie:
- it updates the workstation (one last lil refresh, a goodbye kiss π«Ά)
- it removes its identifier from the set of open workstations
- it releases the connection to the workstation
- and the associated connection ID becomes available for re-use β»οΈ β iconic recycling behaviour, we stan
basically it's the "okay bye, love you, text me when you're home" of GKS calls. πͺβ¨
π₯ ACCESS π₯
to use GKS routines, you gotta load the NCAR GKS-0A library, which is called ncarg_gks. load it. don't forget. i'm not gonna say it twice. (i will say it twice.) load ncarg_gks. π
π SEE ALSO π
Online:
gopksgopwkgacwkgdawkgclksopngksclsgksgclear_ws
(notice gopwk in there? that's the one whose WKID you gotta match. iykyk. π)
Hardcopy:
- User's Guide for NCAR GKS-0A Graphics
- NCAR Graphics Fundamentals, UNIX Version
π 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, you ate that, no cap. π this was GCLWK(3NCARG) from the UNIX manual, dated March 1993 β yeah she's an elder but she still slays. mwah. ππ§ββοΈ
π¦ 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