Realloc reallocates a memory block allocated by Alloc to a new size.
Parameters |
Description |
void* oldPtr |
Pointer to the memory block which is to be reallocated. |
UPInt oldSize |
Original size of the block of memory. |
UPInt newSize |
New required size of the block. |
UPInt align |
Value of zero or power of two for memory address alignment, if supported. |
A Boolean value of true if reallocation succeeds; otherwise false.