The PERM_CALLOC macro is a platform-independent substitute for the C library routine calloc. It allocates size bytes of memory and initializes the memory to zeros. The memory persists after processing the current request has been completed. The memory should be explicitly freed by a call to PERM_FREE.
void *PERM_CALLOC(int size)
A void pointer to a block of memory.
int size is the number of bytes to allocate.
char **name; name = (char **) PERM_CALLOC(100 * sizeof(char *));