ginq_name_open_seg(3) 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) - If the GKS state is SGOP (segment open), then err_ind is returned as "0"; otherwise err_ind is returned as "4".
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; otherwise name_open_seg is undefined.

ACCESS

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

COPYRIGHT

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