rbhash_remove(3)

rbhash_remove3

Remove an entry from an rbhash.

Usage

#include <roy.h>

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

Overview

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.

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

From libroy-dev 1.0.8-1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.