|
NAMEohash_interval ,
ohash_create_entry ,
ohash_qlookup , ohash_qlookupi
—
helper functions for open hashing
LIBRARYOpenBSD Utilities Library (libopenbsd, -lopenbsd)SYNOPSIS#include <stdint.h>
#include <stddef.h>
#include <ohash.h>
uint32_t
void *
unsigned int
unsigned int
DESCRIPTIONThese functions are commonly used to simplify open hashing usage, and use similar conventions. They operate indifferently on NUL-terminated strings (by setting *pend =NULL ) or memory
ranges (delimited by start and
*pend). For NUL-terminated strings, as a side effect,
those functions set *pend to the terminating NUL byte.
p = (*info->alloc)(sz, info->data);
SEE ALSOohash_init(3)STANDARDSThose functions are completely non-standard and should be avoided in portable programs.HISTORYThose functions were designed and written for OpenBSD make(1) by Marc Espie in 1999.
Visit the GSP FreeBSD Man Page Interface. |