wnbtrl(3)

wnbtrl3

Create sorted tree for common kinds of keys

Usage

#include <wn/wnbtrl.h>

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.

Releases

5 releases since Debian 2.1 (Slink); the text changed 1 time.

  1. 2.1–2.2
  2. 3.0–4.0

Author

Will Naylor

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