NGCKOP(3NCARG)

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

✨ 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 type INTEGER specifying 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 🌸


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