Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

hdestroy()

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 Yes

See also:

hcreate(), hsearch()