wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

emallocz.c (206B)


      1 /* Written by Kris Maglione <maglione.k at Gmail> */
      2 /* Public domain */
      3 #include <string.h>
      4 #include "util.h"
      5 
      6 void*
      7 emallocz(uint size) {
      8 	void *ret = emalloc(size);
      9 	memset(ret, 0, size);
     10 	return ret;
     11 }