R3Alloc

FUNCTION:

R3Alloc

TEMPLATE:

void *R3Alloc(int size, int flags);

PARAMETERS:

size - number of bytes to be allocated

RETURN VALUE:

Address of the allocated memory

DESCRIPTION:

Allocate memory. Passing R3MEMF_CLEAR in flags fills the returned memory chunk with zero. If allocation fails an error message is shown.