To | ng-spice@ieee.ing.uniroma1.it |
From | Al Davis <aldavis@ieee.org> |
Date | Sat, 11 Nov 2000 03:29:55 -0800 |
Delivered-To | mailing list ng-spice@ieee.ing.uniroma1.it |
In-Reply-To | <3A0D18CE.F7CC7039@uci.agh.edu.pl > |
Mailing-List | contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm |
References | <GDDFCNDEIDKDIAAA@hotbot.com > <3A0D18CE.F7CC7039@uci.agh.edu.pl > |
Reply-To | ng-spice@ieee.ing.uniroma1.it |
On Sat, 11 Nov 2000, widlok wrote: > As far as I know calloc() uses malloc() inside, but don't > take it for sure. void *calloc(size_t nmemb, size_t size) { void* t = malloc(nmemb * size); memset(t, 0, nmemb * size); return t; } -- or something like that.