Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

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

Allocates a block of memory and zero-initializes the block.

Parameters

  alloc | Allocator object.
  size | Size of memory to be allocated.
  mem | Receives pointer to allocated memory.

Returns
  Operation status.