/* version of realloc that only returns if successful */ void * myrealloc(void *p, size_t size) { return(alloctest(realloc(p, (unsigned) size))); }
/* version of calloc that only returns if successful */ void * mycalloc(size_t nelem, size_t size) { return(alloctest(calloc((unsigned) nelem, (unsigned) size))); }
void * mycalloc(size_t nelem, size_t size) { return (alloctest(calloc(nelem, size))); }
/* version of malloc that only returns if successful */ void * mymalloc(size_t size) { return(alloctest(malloc((unsigned) size))); }
void * mymalloc(size_t size) { return (alloctest(malloc(size))); }