source:
trunk/src/gcc/libiberty/calloc.c@
2008
| Last change on this file since 2008 was 2, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 797 bytes | |
| Rev | Line | |
|---|---|---|
| [2] | 1 | /* calloc -- allocate memory which has been initialized to zero. |
| 2 | This function is in the public domain. */ | |
| 3 | ||
| 4 | /* | |
| 5 | ||
| 6 | @deftypefn Supplemental void* calloc (size_t @var{nelem}, size_t @var{elsize}) | |
| 7 | ||
| 8 | Uses @code{malloc} to allocate storage for @var{nelem} objects of | |
| 9 | @var{elsize} bytes each, then zeros the memory. | |
| 10 | ||
| 11 | @end deftypefn | |
| 12 | ||
| 13 | */ | |
| 14 | ||
