wnbtrl(3)

NAME

wn_mkstrbtree, wn_mkintbtree, wn_mkdoublebtree - create
sorted tree for common kinds of keys

SYNOPSIS

#include <wn/wnbtrl.h>
void wn_mkstrbtree(wn_btree *tree)
void wn_mkintbtree(wn_btree *tree)
void wn_mkdoublebtree(wn_btree *tree)

DESCRIPTION

wn_mkstrbtree allocates a sorted tree indexed by null-ter
minated 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.

SEE ALSO

wnbtr(3), wncmp(3), wncpy(3)

AUTHOR

Will Naylor
WNLIB August 23, 1998
Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout