GQOPSG(3NCARG)
β¨ GQOPSG (Inquire name of open segment) β¨
okay bestie, we're deep in the NCAR GRAPHICS manual, page GQOPSG(3NCARG), and this one is so useful it's giving main character energy π«Ά
This little icon literally just tells you the name of the currently open segment. That's it. That's the whole job. And honestly? She ate. π
πΈ NAME πΈ
GQOPSG β aka Inquire name of open segment β hands you back the name of whatever segment is open right now. π₯
π SYNOPSIS π
CALL GQOPSG(ERRIND,SGNA)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/gks.h>
void ginq_name_open_seg(Gint *err_ind, Gint *name_open_seg);
π DESCRIPTION π
ERRINDβ (Integer, Output) β if the GKS state is SGOP (that's "segment open", iykyk), thenERRINDcomes back as0. But if it's not? ThenERRINDcomes back as4. No in-between, no drama, just a lil vibe check on your state. πSGNAβ (Integer, Output) β if the GKS state is SGOP (segment open), thenSGNAis returned as the number of the currently open segment. Otherwise?SGNAis undefined β so like, don't even look at it, bestie, it's giving void. π
π ACCESS π
To use GKS routines, load the NCAR GKS-0A library ncarg_gks. That's the one. No cap. β¨
β SEE ALSO β
Online: gevtm, gactm, gclsg, gcrsg, gcsgwk, gdsg, gqsgus, gssgt., ginq_name_open_seg
Hardcopy: "User's Guide for NCAR GKS-0A Graphics"
π COPYRIGHT π
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, bestie β slay ππΈπ¦
this one's from the UNIX manual, dated March 1993, filed under GQOPSG(3NCARG) π periodt.
π¦ 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