rbhash_new (3) manpage
- 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
rbhash(3) , rbhash_entry_getkey(3) ,
rbhash_entry_setkey(3) , rbhash_free(3) ,
rbhash_insert(3) , rbhash_len(3) ,
rbhash_lookup(3) , rbhash_lookup_next(3) ,
rbhash_remove(3) , rbhash_remove_entry(3) ,
roy(3)
|