realloc

fun realloc(mem: <Error class: unknown class>? = null, nBytes: <Error class: unknown class>): <Error class: unknown class>?

Reallocates the memory pointed to by @mem, so that it now has space for

Return

the new address of the allocated memory

Parameters

mem

the memory to reallocate

nBytes

new size of the memory in bytes