man rbhash_remove (Fonctions bibliothèques) - remove an entry from an RBHash.

NAME

rbhash_remove - remove an entry from an RBHash.

SYNOPSIS

#include <roy.h>

void * rbhash_remove (RBHash *hash, RBuf *key);

DESCRIPTION

Removes an entry from a hash table. The entry is not free'd, it is simply unlinked from the hash table, and will no longer be available for lookup. It is the programmers responsability to free the user defined entry.

key is a regular RBuf.

RETURN VALUE

This function returns the entry as inserted via rbhash_insert(3). If no such entry exists identified by the given key, then NULL is returned.

SEE ALSO