Zen API
|
kStatus kAlloc_GetZero | ( | kAlloc | alloc, |
kSize | size, | ||
void * | mem, | ||
kMemoryAlignment | alignment | ||
) |
Allocates a block of memory and zero-initializes the block.
alloc | Allocator object. |
size | Size of memory to allocate, in bytes. |
mem | Receives pointer to allocated memory (pointer to a pointer). |
alignment | Memory alignment. |