ncl_gqopsg - Man Page

returns the name of the currently open segment.

Synopsis

CALL GQOPSG(ERRIND,SGNA)

C-Binding Synopsis

#include <ncarg/gks.h>

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

Description

ERRIND

(Integer, Output) - If the GKS state is SGOP (segment open),  then ERRIND is returned as "0"; otherwise ERRIND is returned as "4".

SGNA

(Integer, Output) - If the GKS state is SGOP (segment open), then  SGNA is returned as the number of the currently open segment; otherwise SGNA is undefined.

Access

To use GKS routines, load the NCAR GKS-0A library  ncarg_gks.

See Also

Online:  gevtm, gactm, gclsg, gcrsg, gcsgwk, gdsg, gqsgus, gssgt., ginq_name_open_seg

Hardcopy:  "User's Guide for NCAR GKS-0A Graphics"

Info

March 1993 UNIX NCAR GRAPHICS