This is not _exactly_ the same as C's realloc function!
Pointer to allocated space. This can return either null or
Basically this can implement regular C's malloc, free and realloc, but is not completely identical to C's realloc (see safe_realloc to see why).
See Implementation
This is not _exactly_ the same as C's realloc function!