KasperskyOS Community Edition 1.1
Contents
Contents
KosMemAllocEx()
This function is declared in the kos/alloc.h
file.
void *KosMemAllocEx(rtl_size_t size, rtl_size_t align, int zeroed);
This function is analogous to KosMemAlloc()
, but it also has additional parameters:
align
refers to the alignment of the memory area in bytes (power of two).zeroed
determines whether or not the memory area needs to be filled with zeros (1 means fill, 0 means do not fill).