Next: cpg-ref-SP_close_query, Previous: cpg-ref-SP_atom_length, Up: cpg-bif [Contents][Index]
SP_calloc()
#include <sicstus/sicstus.h> void * SP_calloc(size_t nmemb, size_t size);
Allocates a block of at least size * nemb
. The first size
* nmemb
bytes are set to zero.
How many items to allocate.
Size of each item.
The pointer, if allocation was successful, otherwise NULL
.