443
edits
-
Changes
Created page with "<strong>CALLOC</strong> ==SYNOPSIS== #include <stdlib.h> char * calloc(size_t cnt, size_t size) ==DESCRIPTION== <strong>Calloc</strong>() attempts to obtain a cont..."
<strong>CALLOC</strong>
==SYNOPSIS==
#include <stdlib.h>
char * calloc(size_t cnt, size_t size)
==DESCRIPTION==
<strong>Calloc</strong>() 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
==SYNOPSIS==
#include <stdlib.h>
char * calloc(size_t cnt, size_t size)
==DESCRIPTION==
<strong>Calloc</strong>() 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