Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Blt_TreeExists(3)	    BLT	Library	Procedures	     Blt_TreeExists(3)

______________________________________________________________________________

NAME
       Blt_TreeExists -	Indicates if a tree exists.

SYNOPSIS
       #include	<bltTree.h>

       int
       Blt_TreeExists(interp, name)

ARGUMENTS
       Tcl_Interp   *interp   (in)	Interpreter to determine current name-
					space context.

       const char   *name     (in)	Name of	an existing tree data  object.
					Can be qualified by a namespace.
_________________________________________________________________

DESCRIPTION
       This  procedure	determines  if	a C-based tree data object exists by a
       given name. The arguments are as	follows:

       interp	 Used the determine the	current	namespace context.

       name	 Name of an existing tree data object.	Name can be  qualified
		 by  a namespace such as fred::myTree.	If no namespace	quali-
		 fier is used, the current namespace  is  searched,  then  the
		 global	namespace.

RETURNS
       A boolean result	is returned.  If the tree exists 1 is returned,	0 oth-
       erwise.

EXAMPLE
       The following example checks if a tree "myTree" exists.

	      if (!Blt_TreeExists(interp, "myTree")) {
		  fprintf(stderr, "can't find tree \"myTree\\n");
	      }

KEYWORDS
       tree, token Tcl_TreeCreate, Tcl_TreeGetToken, Tcl_TreeReleaseToken

BLT				      2.5		     Blt_TreeExists(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | RETURNS | EXAMPLE | KEYWORDS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Blt_TreeExists&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help