calloc [C++ Reference]
Keywords: c,mem,calloc
Date: 2008-10-14T15:42:01-0700

[[calloc]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## calloc

Syntax:

        #include <cstdlib>
        void* calloc( size_t num, size_t size );

The calloc() function returns a pointer to space for an array of num objects, each of size size. The newly allocated memory is initialized to zero. calloc() returns NULL if there is an error.

Related Topics: free, malloc, realloc

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •