aboutsummaryrefslogblamecommitdiffstats
path: root/encalloc.c
blob: de5a2c9f93d00973cb52314f5c93ac669fa324e2 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                         
            

 
      
                                                                  

                                 

                                            

                   











                 
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
#ifndef TEST


void *
libsimple_encalloc(int status, size_t n, size_t m) /* TODO test */
{
	void *ret = calloc(n, m);
	if (!ret)
		enprintf(status, "calloc:");
	return ret;
}


#else
#include "test.h"

int
main(void)
{
	return 0;
}

#endif