R3_ReAlloc

FUNCTION:

R3ReAlloc

TEMPLATE:

void *R3ReAlloc(void *oldaddr, int oldsize, int newsize, int flags);

PARAMETERS:

oldaddr - pointer to a memory to be reallocated

oldsize - the size of the memory chunk to be reallocated

newsize - new size

flags - R3MEMF_CLEAR to clear the new memory allocated

RETURN VALUE:

address of new memory chunk

DESCRIPTION:

Change the size of the memory chunk.