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
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.
12 .\" Copyright 2015 Joyent, Inc.
19 .Nd destroy an AVL tree
25 .Fa "avl_tree_t *tree"
30 function is used to destroy the AVL tree that is rooted at
37 It is a programmer error to call
40 To efficiently remove all entries in the tree, see
41 .Xr avl_destroy_nodes 3AVL .
46 should not be used with any other library functions until a subsequent
54 .Sh INTERFACE STABILITY
63 .Xr avl_destroy_nodes 3AVL ,