The PERM_CALLOC macro is a platform-independent substitute for the C library routine calloc. This macro allocates int size bytes of memory that persist after the request that is being processed has been completed. 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 *PERM_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 **) PERM_CALLOC(100);
PERM_FREE, PERM_STRDUP, PERM_MALLOC, PERM_REALLOC, MALLOC, FREE, CALLOC, STRDUP, REALLOC