NGCKOP(3NCARG)
β¨ NGCKOP β¨ β it's giving NCAR GRAPHICS, bestie π
okay so this is NGCKOP, a manual page from the NCAR Graphics crew (that's the 3NCARG situation, iykyk). It lives in section 3, it's a function, and its whole entire job is checking whether a GKS workstation you're thinking about is open or not. that's it. that's the gig. π
π NAME π
NGCKOP β a function to check if a specified GKS workstation is open. no cap, that's literally all it does and honestly? iconic. π
πΈ SYNOPSIS πΈ
INTEGER FUNCTION NGCKOP(WKID)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
int c_ngckop(int wkid)
β¨ DESCRIPTION β¨
WKIDβ an input variable of typeINTEGERspecifying a GKS workstation identifier. it's the lil name-tag number of the workstation you're asking about, bestie π«Ά
π C-BINDING DESCRIPTION π
the C binding argument descriptions are the same as the FORTRAN argument descriptions. same vibe, different language, slay π
π₯ USAGE π₯
the function returns a "1" if the workstation identified by WKID is open, otherwise it returns a "0".
that's the whole vibe check: 1 = open and thriving, 0 = closed, not the moment. β
π EXAMPLES π
IOPEN = NGCKOP(WKID)
this sets IOPEN to "1" if WKID is open and sets IOPEN to "0" otherwise. so like, one line, one answer, main character energy fr fr π
π ACCESS π
to use NGCKOP or c_ngckop, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. order matters, don't be chaotic about it π
πΈ SEE ALSO πΈ
- Online URL:
http://ngwww.ucar.edu/ngdoc/ng/gks/gkshome.html
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
ok bestie the legal girlies said what they said, so respect the License Agreement, periodt π
and that's the whole page!! this was NGCKOP(3NCARG) from NCAR Graphics, and the version/date stamp on this one is UNIX, October 1996 π¦β¨ love that for us, stay open, stay slay ππ
π¦ 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