carta
wn_mkdoublebtree(3)

wn_mkdoublebtree3

Create sorted tree for common kinds of keys

Part of wnbtrl(3).

Usage

void wn_mkstrbtree(wn_btree *tree)

void wn_mkintbtree(wn_btree *tree)

void wn_mkdoublebtree(wn_btree *tree)

Overview

wn_mkstrbtree allocates a sorted tree indexed by null-terminated char strings (from the current memory group).

wn_mkintbtree allocates a sorted tree indexed by int keys.

wn_mkdoublebtree allocates a sorted tree indexed by double keys. A <double> is a long floating-point number. You should pass <&number> rather than just "number" as the key.

History

  • Debian 4.0 (Etch) to Debian 3.0 (Woody): the text shown here
  • Debian 2.2 (Potato) to Debian 2.1 (Slink)

Author

Will Naylor

From libwn-dev 6.0-17 in Debian 4.0 (Etch). Parsed by carta from the page's man source.