wmii/libstuff/util/emallocz.c
2010-05-21 22:52:47 -04:00

12 lines
206 B
C

/* Written by Kris Maglione <maglione.k at Gmail> */
/* Public domain */
#include <string.h>
#include "util.h"
void*
emallocz(uint size) {
void *ret = emalloc(size);
memset(ret, 0, size);
return ret;
}