DOKK / manpages / debian 10 / libncarg-dev / ginq_set_seg_names.3ncarg.en
GINQ_SET_SEG_NAMES(3NCARG) NCAR GRAPHICS GINQ_SET_SEG_NAMES(3NCARG)

ginq_set_seg_names - Retrieves what segment names are currently in use

#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);

(Input) - The number of elements in the application list you wish to request.
(Input) - The first set member requested.
(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".
(Output) - The number of segment names that are currently in use.
(Gint, Output) - The number of segment names returned.
(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.

For NCAR GKS, segment names are integers between 0 and 99 inclusive (see the man page for gcreate_seg(3NCARG)).

To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.

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.

March 1993 UNIX