>>84
#include <stdlib.h>
#include <string.h>

void *malloc(size_t size)
{
return realloc(NULL,size);
}

void *calloc(size_t nmemb, size_t size)
{
void *p;
if(p=realloc(NULL,nmemb*size))
memset(p,0,nmemb*size);
return p;
}

/* おまけ */
void free(void *ptr)
{
realloc(ptr,0);
}