symDelete basic EMF

Synopsis

Deletes a lookup-value pair from a symbol table.

Prototype

 #include "uemf.h"

 int symDelete(sym_fd_t sd, char_t* name);

Parameters

sdHandle to the table created from a previous call to symOpen.
nameThe string lookup key for the value to be deleted.

Description

This module implements a highly efficient generic symbol table with update and access routines. Symbols are simple character strings and the values they take can be flexible types as defined by value_t. This module allows multiple symbol tables to be created.

Frees and deletes an existing symbol from the table. is called for each symbol that is deleted.

Return Value

Returns 0 on success or -1 on error.

Example

int symDelete(id, "lookup");

Stability Classification

Evolving.

See Also

symClose, symFirst, symLookup, symNext, symOpen