R3Alloc
void *R3Alloc(int size, int flags);
size - number of bytes to be allocated
Address of the allocated memory
Allocate memory. Passing R3MEMF_CLEAR in flags fills the returned memory chunk with zero. If allocation fails an error message is shown.