ref: cfd7660a044c8bd3ad0c33a237155b05248c0b0b
dir: /util.c/
#include <u.h> #include <libc.h> #include "ds.h" // Guarded calloc(2) void* ecalloc(ulong n, ulong size) { void *m = calloc(n, size); if(m == nil) sysfatal("err: calloc failed → %r"); return m; }