hdestroy()

Updated: April 19, 2023

Destroy the hash search table

Synopsis:

#include <search.h>

void hdestroy( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The hdestroy() function destroys the hash search table that was created by hcreate() and used by hsearch(). Only one hash search table may be active at any given time.

Examples:

See hsearch().

Classification:

POSIX 1003.1 XSI

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread No