5935 libavl should be a public interface
[unleashed.git] / usr / src / man / man3avl / avl_numnodes.3avl
bloba366c38efbeda986443c1a5f8edc1d338fedd1a4
1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source.  A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright 2015 Joyent, Inc.
13 .\"
14 .Dd May 07, 2015
15 .Dt AVL_NUMNODES 3AVL
16 .Os
17 .Sh NAME
18 .Nm avl_numnodes
19 .Nd return the number of nodes in an AVL tree
20 .Sh SYNOPSIS
21 .Lb libavl
22 .In sys/avl.h
23 .Ft ulong_t
24 .Fo avl_numnodes
25 .Fa "avl_tree_t *tree"
26 .Fc
27 .Sh DESCRIPTION
28 The
29 .Fn avl_numnodes
30 function returns the number of nodes in the AVL tree rooted
32 .Fa tree .
33 .Sh RETURN VALUES
34 The number of nodes in the tree is returned.
35 .Sh EXAMPLES
36 See the
37 .Sy EXAMPLES
38 section in
39 .Xr libavl 3LIB .
40 .Sh INTERFACE STABILITY
41 .Sy Committed
42 .Sh MT-Level
43 See
44 .Sx Locking
46 .Xr libavl 3LIB .
47 .Sh SEE ALSO
48 .Xr libavl 3LIB