rbhash_new(3)

rbhash_new3

Allocate a new rbhash

Usage

#include <roy.h>

RBHash * rbhash_new (void);

Overview

Create a new structure to hold a hash. No compare or hashing functions are supplied to rbhash_new() as it is always used for RBuf keys.

Return value

This function will always succeed in returning a newly allocated RBHash structure. This structure should later be freed using rbhash_free(3).

Errors

The rbhash_new(3) call will never return any failure condition. Any out of memory issues are delt with by rmem(3) functions.

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.