-
Functions HI-TECH C CALLOC
From HI-TECH C for CP/M Fan WIKI(EN)
CALLOC
SYNOPSIS
#include <stdlib.h> char * calloc(size_t cnt, size_t size)
DESCRIPTION
Calloc() attempts to obtain a contiguous block of dynamic memory which will hold cnt objects, each of length size. The block is filled with zeroes. A pointer to the block is returned, or 0 if the memory could not be allocated.
SEE ALSO
brk, sbrk, malloc, free