2023-11-16 23:19:36 -05:00

14 lines
197 B
C

/*
* calloc.c
*/
#include <stdlib.h>
#include <string.h>
/* FIXME: This should look for multiplication overflow */
void *calloc(size_t nmemb, size_t size)
{
return zalloc(size * nmemb);
}