The implementation of calloc is not significantly different than malloc.
The realloc function does require a few additional details beyond malloc.
The main issues in heap management arise with the two functions: