wmii

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

erealloc.c (217B)


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