The CALLOC macro is a platform-independent substitute for the C library routine calloc. It allocates num*size bytes from the request’s memory pool. If pooled memory has been disabled in the configuration file (with the pool-init built-in SAF), PERM_CALLOC and CALLOC both obtain their memory from the system heap.
void *CALLOC(int size)
A void pointer to a block of memory.
int size is the size in bytes of each element.
char *name;name = (char *) CALLOC(100);