1 2 3 4 5 6 7 8 9 10
#include "alloc.h" #include "errors.h" void * bufalloc(void *p, size_t n, size_t m) { if ((p = bufalloc_noterm(p, n, m)) == nullptr) err(__func__); return p; }