Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMemAlloc | ( | kSize | size,
|  | void * | mem
| ) |  |

Allocates a 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 a pointer to the memory block.

Returns
  Operation status.