GINQ_NAME_OPEN_SEG(3NCARG)

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

✨ NAME ✨

okay so bestie, welcome to ginq_name_open_seg β€” that's the NCAR Graphics function that tells you the name of the currently open segment πŸ’… it literally says "Inquire name of open segment" and that's exactly what it does, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

#include <ncarg/gks.h>

void ginq_name_open_seg(Gint *err_ind, Gint *name_open_seg);

πŸ¦‹ DESCRIPTION πŸ¦‹

  • err_ind β€” (Output) if the GKS state is SGOP (segment open), then err_ind comes back as 0. otherwise? it comes back as 4 😭 that's it, that's the vibe check.
  • name_open_seg β€” (Output) if the GKS state is SGOP (segment open), then name_open_seg is returned as the number of the currently open segment πŸ”₯ but if it's not, name_open_seg is undefined β€” like, we don't know her, she's not here, don't look at her πŸ™ˆ

🌈 ACCESS 🌈

to use the GKS C-binding routines you gotta load the ncarg_gks and ncarg_c libraries. that's the whole assignment, periodt 🫢


🌸 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 β€” yes bestie, actual paper, iconic πŸ“š


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


k that's the whole page, you ate it up πŸ’– this is from the NCAR GRAPHICS manual, GINQ_NAME_OPEN_SEG(3NCARG), dated March 1993 under UNIX β€” vintage but still slaying, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from