source:
bootcd/isolinux/syslinux-6.03/com32/lib/calloc.c
Last change on this file was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
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 | |
10 | void *calloc(size_t nmemb, size_t size) |
11 | { |
12 | return zalloc(size * nmemb); |
13 | } |
Note: See TracBrowser
for help on using the repository browser.