GINQ_NAME_OPEN_SEG(3NCARG)
β¨ GINQ_NAME_OPEN_SEG β¨
okay so bestie, this one's from NCAR GRAPHICS and it lives in section 3NCARG of the manual, and it is literally the glow-up of "hey, what segment are we even in right now??" π
πΈ NAME πΈ
ginq_name_open_seg β returns the name of the currently open segment π«Ά
π SYNOPSIS π
#include <ncarg/gks.h>
void ginq_name_open_seg(Gint *err_ind, Gint *name_open_seg);
π DESCRIPTION π
err_indβ (Output) so like, if the GKS state is SGOP (segment open, we're in our open segment era β¨), thenerr_indcomes back as"0". Otherwise β and I cannot stress this enough βerr_indis returned as"4". πname_open_segβ (Output) if the GKS state is SGOP (segment open, main character moment), thenname_open_segis returned as the number of the currently open segment π. Otherwise?name_open_segis undefined. Not zero, not empty, undefined β so don't you dare go reading it, that's giving chaos π.
π ACCESS π
To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. That's it, that's the whole vibe check π
π¦ SEE ALSO π¦
Online: geval_tran_matrix(3NCARG), gaccum_tran_matrix(3NCARG), gclose_seg(3NCARG), gcreate_seg(3NCARG), gcopy_seg_ws(3NCARG), gdel_seg(3NCARG), ginq_set_seg_names(3NCARG), gset_seg_tran(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
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, no cap. it's giving UNIX, it's giving March 1993, and yes the source is literally just that date and platform bestie β iconic of it honestly. go forth and query your open segment, you absolute legend πππ¦
π¦ 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