abfCalloc()
Allocates a block of memory.
Syntax
void *abfCalloc(int num, int size);
Inputs
- num
- The number of items to allocate.
- size
- The size of each item measured in bytes.
Example
double *values = (double *)abfCalloc(100, sizeof(double));
Comment
abfCalloc() is similar to calloc(), except that in the event that an out-of-memory condition occurs, abfCalloc() exits via abfError().