addht(3) debian man page | unix.com

Man Page: addht

Operating Environment: debian

Section: 3

ADDHT(3)						MBK HASH TABLE MANAGEMENT FUNCTIONS						  ADDHT(3)

NAME
addht - create an hash table
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mut.h" ht *addht(len) unsigned int len;
PARAMETER
len Number of entries in the hash table
DESCRIPTION
addht() creates a new hash table in memory. len is an estimate of the maximum number of entries that the table will contain. This number may be automatically adjusted when using access functions by a dynamic reallocation, in order to warranty fast access time.
EXAMPLE
#include "mut.h" ht *sigHtable(ptfig) /* h table suitable for signals */ lofig_list *ptfig; { losig_list *ptsig = ptfig->LOSIG; unsigned int i = 0; while (ptsig) { i++; ptsig = ptsig->NEXT; } return addht(i); }
ERROR
"*** mbk error *** illegal addht : len is '0'" The hash table size cannot be zero, guess why!
SEE ALSO
mbk(1), delht(3), addhtitem(3), gethtitem(3), sethtitem(3), delhtitem(3), viewht(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools.
ASIM
/LIP6 October 1, 1997 ADDHT(3)
Related Man Pages
addht(3) - debian
delht(3) - debian
viewht(3) - debian
concatname(3) - x11r4
concatname(3) - sunos
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Is UNIX an open source OS ?
Introduction
One instance of comparing grep and awk