Zen API
zCalloc
C
zStatus zCalloc(void* mem, z32u count, zUIntPtr size);
Parameters
Parameters 
Description 
void* mem 
Receives a pointer to the memory block. 
z32u count 
Count of items for which memory is required. 
zUIntPtr size 
Size of each item, in bytes. 
Description

Allocates and zero-initializes block of memory from the heap used by the zApi library.

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

File

zApi.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.