man rbhash_new (Fonctions bibliothèques) - allocate a new rbhash

NAME

rbhash_new - allocate a new rbhash

SYNOPSIS

#include <roy.h>

RBHash * rbhash_new (void);

DESCRIPTION

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.

SEE ALSO