.. _calloc: calloc ====== .. code-block:: bl calloc :: fn (num: usize, size: usize, loc: ) *u8 Allocates count of bytes on heap using default allocator and return pointer to begin of this allocated block. Resulting block is set to 0 value. Use :ref:`free` to free allocated memory when it's no longer needed. *Declared in: memory.bl*