Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kAlloc_Get | ( | kAlloc | alloc,
|  | kSize | size,
|  | void * | mem
| ) |  |

Allocates a block of memory.

Parameters

  alloc | Allocator object.
  size | Size of memory to allocate, in bytes.
  mem | Receives pointer to allocated memory (pointer to a pointer).

Returns
  Operation status.