Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
4973 |
right-hear |
1 |
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ |
|
|
2 |
#include |
|
|
3 |
#include |
|
|
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 |
} |