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-2003091401
[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
/*
6
* @implemented
7
*/
8
void *
9
calloc(size_t size, size_t nelem)
10
{
11
void *rv = malloc(size*nelem);
12
if (rv)
13
memset(rv, 0, size*nelem);
14
return rv;
15
}