HCREATE - create hash table.
(Compatible with UNIX System V)
Usage:
#include <search.h>
int hcreate();
stat = hcreate(nentries);
Where:
- unsigned nentries;
- is the maximum number of entries that the table will be
asked to hold. The allocated table might actually be
slightly bigger than this, in order to accommodate
requirements of the hashing algorithm.
- int stat;
- is non-zero if the table was successfully allocated, and
zero if the allocation failed for some reason.
Description:
The "hcreate" function creates a hash table. Entries
may be made in the table using the "hsearch" function.
A program may only have one hash table at a time.
See Also:
expl c lib hsearch
expl c lib hdestroy
Copyright © 1996, Thinkage Ltd.