HP C/iX Library Reference Manual (30026-90004)

210 Chapter5
HP C/iX Library Function Descriptions
hdestroy
hdestroy
Destroys a search table created by hcreate().
Syntax
#include <search.h>
void hdestroy (void);
Parameters
None.
Return Values
None.
Description
The hdestroy function destroys the search table created by a previous call to hcreate().
A subsequent call to hcreate() can be made to create a new search table.
Only one hash search table may be active at any given time.
NOTE
The hdestroy function and the header file <search.h> are not part of ANSI
C. Using them may make your program less portable.
Examples
Refer to the example located in the hcreate function description.
See Also
hsearch(), hcreate()