GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

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

addht - create an hash table

See the file man1/alc_origin.1.

#include "mut.h"
ht ∗addht(len)
unsigned int len;

Number of entries in the hash table

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.

#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);
}

"∗∗∗ mbk error ∗∗∗ illegal addht : len is '0'"

The hash table size cannot be zero, guess why!

mbk(1), delht(3), addhtitem(3), gethtitem(3), sethtitem(3), delhtitem(3), viewht(3).

See the file man1/alc_bug_report.1.

October 1, 1997 ASIM/LIP6

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.