Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

NGCKOP - a function to check if a specified GKS workstation is open.

Access

       To  use NGCKOP or c_ngckop, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in
       that order.

C-Binding Description

       The C binding argument descriptions are the same as the FORTRAN argument descriptions.

C-Binding Synopsis

       #include <ncarg/ncargC.h>

       int c_ngckop(int wkid)

Description

       WKID        (an input variable of type INTEGER) specifying a  GKS workstation identifier.

Examples

               IOPEN = NGCKOP(WKID)

       sets IOPEN to "1" if WKID is open and sets IOPEN to "0" otherwise.

Name

       NGCKOP - a function to check if a specified GKS workstation is open.

See Also

Synopsis

       INTEGER FUNCTION NGCKOP(WKID)

Usage

       The function returns a "1" if the workstation identified by WKID is open, otherwise it returns a "0".

See Also