Allocates and zero-initializes block of memory from the application heap.
Memory allocated with this function should be freed with the kMemFree function.
- Parameters
-
size | Size of memory to allocate, in bytes. |
mem | Receives pointer to allocated memory (pointer to a pointer). |
- Returns
- Operation status.