symDelete basic EMF

Synopsis

Deletes a lookup-value pair from a symbol table

Prototype

int symDelete(sym_fd_t sd, char_t* name);

Parameters

sd Handle to the table created from a previous call to symOpen
name The 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.

Return Value

Returns 0 on success or -1 on error.

Example



See Also

symClose, symFirst, symLookup, symNext, symOpen