7.20.3.1 The calloc function
Synopsis
#include <stdlib.h>
void *calloc(size_t nmemb, size_t size);
Description
The calloc function allocates space for an array of nmemb objects, each of whose size is size. The space is initialized to all bits zero.[1]
Returns
The calloc function returns either a null pointer or a pointer to the allocated space.
Footnotes