ttp://www.bohyoh.com/CandCPP/FAQ/FAQ00096.html

そういえば昔の HP-C は calloc がマクロで、
#define calloc(N, SIZE) memset(malloc((N) * (SIZE)), 0, (N) * (SIZE))
(うろ覚え) みたいになってたなぁ。