56void *
pb_memcpy(
void * dest,
const void * src,
size_t sz);
67int pb_memcmp(
const void * a,
const void * b,
size_t sz);
int pb_memcmp(const void *a, const void *b, size_t sz)
compare two memory regions
Definition pb-mem.c:25
void pb_free(void *ptr)
Free a chunk of memory previously allocated with pb_malloc()
Definition pb-mem.c:10
void * pb_malloc(size_t sz)
Allocate a contiguous chunk of memory.
Definition pb-mem.c:7
void * pb_realloc(void *ptr, size_t sz)
Resize the memory area ptr to size sz.
Definition pb-mem.c:13
void * pb_memcpy(void *dest, const void *src, size_t sz)
copy a memory region
Definition pb-mem.c:18