kjb_calloc - Allocates memory from the heap.
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
This routine is a replacement for calloc. It is similar to kjb_malloc, in
anology with calloc. (See kjb_malloc for more information).
The routine kjb_free should be used to free memory allocated by this routine.
kjb_free is normally accessed through the macro kjb_free.
On error, this routine returns NULL, with an error message being set. On
success it returns a pointer to the memory which has been zero'd, just
Normally kjb_calloc should be accessed through the macro KJB_CALLOC(x).
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.