Searched refs:newptr (Results 1 – 1 of 1) sorted by relevance
34 void *newptr; in recallocarray() local66 newptr = malloc(newsize); in recallocarray()67 if (newptr == NULL) in recallocarray()71 memcpy(newptr, ptr, oldsize); in recallocarray()72 memset((char *)newptr + oldsize, 0, newsize - oldsize); in recallocarray()74 memcpy(newptr, ptr, newsize); in recallocarray()79 return newptr; in recallocarray()