hdestroy() — Destroy hash search tables

Standards

Standards / Extensions C or C++ Dependencies

XPG4
XPG4.2
Single UNIX Specification, Version 3

both  

Format

#define _XOPEN_SOURCE
#include <search.h>

void hdestroy(void);

General description

The hdestroy() function disposes of the search table, and may be followed by another call to hcreate(). After the call to hdestroy(), the data can no longer be considered accessible.

Threading Behavior: see hsearch() — Search hash tables.

Returned value

hdestroy() returns no values.

Related information