Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kMemAllocZero ( kSize  size,
void *  mem 
)

Allocates and zero-initializes block of memory from the application heap.

Memory allocated with this function should be freed with the kMemFree function.

Parameters
sizeSize of memory to allocate, in bytes.
memReceives a pointer to the memory block.
Returns
Operation status.