table of contents
VIEWHT(3) | MBK HASH TABLE MANAGEMENT FUNCTIONS | VIEWHT(3) |
NAME¶
viewht - displays a hash table contents
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université 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" void viewht(table, display) ht ∗table; char ∗(∗display)();
PARAMETER¶
DESCRIPTION¶
viewht() displays all items of table :
EXAMPLE¶
#include "mut.h" #include <stdio.h> typedef struct of_fp { char ∗name; float f; void ∗p; } fp; char ∗printout(s) fp ∗s; { char t[BUFSIZ]; sprintf(t, "name : `%s' :~~~: float value : `%.6f' <%#x>", s->name, s->f, s->p); return t; } void displayall(h) ht *h; { viewht(h, printout); }
SEE ALSO¶
mbk(1), addht(3), delht(3), addhtitem(3), gethtitem(3), sethtitem(3), delhtitem(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.
October 1, 1997 | ASIM/LIP6 |