GINQ_SET_SEG_NAMES(3NCARG)

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

πŸ’– GINQ_SET_SEG_NAMES πŸ’–

okay bestie, welcome to the NCAR GRAPHICS corner of the manual β€” this one's ginq_set_seg_names(3NCARG) and it's literally the "who's here rn" check for your segments. Full name energy: Inquire set of segment names in use. She retrieves what segment names are currently in use. That's it, that's the whole vibe. ✨


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void ginq_set_seg_names(Gint num_elems_appl_list, Gint start_pos, Gint
*err_ind, Gint_list *seg_names, Gint *length_list);

πŸŽ€ DESCRIPTION πŸŽ€

okay so let's go through the whole cast, one by one, no skips:

  • num_elems_appl_list β€” (Input) β€” the number of elements in the application list you wish to request. like, how many you're asking for. 🫢
  • start_pos β€” (Input) β€” the first set member requested. where you wanna start, bestie.
  • err_ind β€” (Output) β€” if the GKS state is WSOP (workstation open), WSAC (workstation active), or SGOP (segment open), then err_ind is returned as "0"; otherwise err_ind is returned as "7". so basically zero means we're chilling, seven means nope. πŸ’€
  • length_list β€” (Output) β€” the number of segment names that are currently in use. the headcount, fr fr.
  • seg_names.num_ints β€” (Gint, Output) β€” the number of segment names returned. πŸ‘‘
  • seg_names.ints β€” (Gint *, Output) β€” if the GKS state is WSOP (workstation open), WSAC (workstation active), or SGOP (segment open), and if start_pos is non-negative, then seg_names.ints is returned as the list of segment names starting with element "start_pos" and ending with element "start_pos + num_elems_appl_list - 1" or "start_pos + length_list - 1", whichever is less; otherwise seg_names.num_ints is undefined. ⚠️ yeah, undefined. not a vibe. don't do that.

πŸ¦‹ USAGE πŸ¦‹

for NCAR GKS, segment names are integers between 0 and 99 inclusive β€” go peek at the man page for gcreate_seg(3NCARG) if you want the full lore. 🌈


✨ ACCESS ✨

to use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. that's the whole ticket, bestie. πŸ’…


πŸ’œ SEE ALSO πŸ’œ

Online:

  • geval_tran_matrix(3NCARG)
  • gaccum_tran_matrix(3NCARG)
  • gclose_seg(3NCARG)
  • gcreate_seg(3NCARG)
  • gcopy_seg_ws(3NCARG)
  • ginq_name_open_seg(3NCARG)
  • gdel_seg(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 (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


periodt. that's the whole page. go inquire those segment names, main character. 🧚

okay so this was GINQ_SET_SEG_NAMES(3NCARG) from the NCAR GRAPHICS manual, and it's dated March 1993 (yes, iconic behavior from before you were born, and it still slays). mwah, bye bestie! πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from