blob: 264f2425db55286115705eae7b8bb11ae84392e6 (
plain) (
blame)
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("%s:", __func__);
return p;
}
|