Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Hash_DeleteTable(lib) — Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Hash_DeleteTable  —  C Library Procedures

NAME

Hash_DeleteTable − release storage in hash table

SYNOPSIS

#include <hash.h> Hash_DeleteTable(tablePtr)

ARGUMENTS

Hash_Table ∗tablePtr   (in) Pointer to hash table whose internal storage is to be released. 
 

DESCRIPTION

Hash_DeleteTable deletes all the entries in a hash table and also releases the table’s internal bucket storage back to the memory manager.  The Hash_Table structure at ∗tablePtr is not recycled to the memory manager (it is considered to belong to the caller), but the contents of ∗tablePtr are reset to indicate that the table is void.  Future operations on the table will result in core dumps,  unless Hash_InitTable gets called again to reset the table. 
 

KEYWORDS

delete, hash table

Sprite version 1.0  —  December 30, 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026