GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BLT_TREENODEID (3)

NAME

Blt_TreeNodeId - Returns the node serial number.

CONTENTS

Synopsis
Arguments
Description
Returns
Example
Keywords

SYNOPSIS

#include <bltTree.h>

unsigned int Blt_TreeNodeId(node)

ARGUMENTS


.TP 15 Blt_TreeNodenode(in)
Blt_TreeNodenode Blt_TreeNode Node whose ID is to be returned.

   








\L’|0u-1v’\l’75u+3n_’\L’0u+1v-0u’\l’|0u-1.5n_’



\L’|0u-1v’\L’0u+1v-0u’\l’|0u-1.5n_’





DESCRIPTION

This procedure returns the node serial number. The node serial number is useful for programs that export the tree data object to the Tcl programming level. Since node labels (and therefore pathnames) are not unique, the ID can be used to uniquely identify a node.

The arguments are as follows:
node The node whose serial number is returned. The serial number of the root node for example is always 0.

RETURNS

The serial number of the node. Nodes are given a unique serial number when they are created. You can use the ID to later retrieve the node using Blt_TreeGetNode.

EXAMPLE

The following example prints the ID of a node.



printf("root ID is %s\n", Blt_TreeNodeId(node));

KEYWORDS

Tcl_TreeCreateNode, Tcl_TreeDeleteNode
Search for    or go to Top of page |  Section 3 |  Main Index


BLT BLT_TREENODEID (3) 2.5

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.