1NGCKOP(3NCARG) NCAR GRAPHICS NGCKOP(3NCARG)
2
3
4
6 NGCKOP - a function to check if a specified GKS workstation is open.
7
9 INTEGER FUNCTION NGCKOP(WKID)
10
12 #include <ncarg/ncargC.h>
13
14 int c_ngckop(int wkid)
15
17 WKID (an input variable of type INTEGER) specifying a GKS
18 workstation identifier.
19
21 The C binding argument descriptions are the same as the FORTRAN
22 argument descriptions.
23
25 The function returns a "1" if the workstation identified by WKID is
26 open, otherwise it returns a "0".
27
29 IOPEN = NGCKOP(WKID)
30
31 sets IOPEN to "1" if WKID is open and sets IOPEN to "0" otherwise.
32
34 To use NGCKOP or c_ngckop, load the NCAR Graphics libraries ncarg,
35 ncarg_gks, and ncarg_c, preferably in that order.
36
38 Online URL: http://ngwww.ucar.edu/ngdoc/ng/gks/gkshome.html
39
41 Copyright (C) 1987-2007
42 University Corporation for Atmospheric Research
43
44 This documentation is free software; you can redistribute it and/or
45 modify it under the terms of the GNU General Public License as
46 published by the Free Software Foundation; either version 2 of the
47 License, or (at your option) any later version.
48
49 This software is distributed in the hope that it will be useful, but
50 WITHOUT ANY WARRANTY; without even the implied warranty of
51 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
52 General Public License for more details.
53
54 You should have received a copy of the GNU General Public License along
55 with this software; if not, write to the Free Software Foundation,
56 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
57
58
59
60UNIX October 1996 NGCKOP(3NCARG)