wmii

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

emalloc.c (198B)


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