These docs are for v1.3.0. Click to read the latest docs for v1.6.

calloc

Allocate a block of memory for an array of count elements, each of them size bytes long, and initializes all bits with 0.

Parameters

  • count - Number of elements to allocate

  • size - Size of each element

Returns

void* - Pointer to start of the new allocated memory