allwinner_a64/android/external/syslinux/com32/lib/calloc.c
2018-08-08 16:14:42 +08:00

13 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);
}