git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update for HEAD-2003021201
[reactos.git]
/
lib
/
crtdll
/
stdlib
/
calloc.c
1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include <msvcrt/stdlib.h>
3
#include <msvcrt/string.h>
4
5
void *
6
calloc(size_t size, size_t nelem)
7
{
8
void *rv = malloc(size*nelem);
9
if (rv)
10
memset(rv, 0, size*nelem);
11
return rv;
12
}