source: bootcd/isolinux/syslinux-6.03/com32/lib/calloc.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 197 bytes
Line 
1/*
2 * calloc.c
3 */
4
5#include <stdlib.h>
6#include <string.h>
7
8/* FIXME: This should look for multiplication overflow */
9
10void *calloc(size_t nmemb, size_t size)
11{
12    return zalloc(size * nmemb);
13}
Note: See TracBrowser for help on using the repository browser.