diff options
author | DJ Delorie <dj@redhat.com> | 2001-09-26 18:45:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-09-26 18:45:50 +0000 |
commit | 39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch) | |
tree | b437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/calloc.c | |
parent | 4e6667ac4f987fecbcf576513c70485a4718712e (diff) | |
download | binutils-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz binutils-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2 binutils-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip |
merge from gcc
Diffstat (limited to 'libiberty/calloc.c')
-rw-r--r-- | libiberty/calloc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libiberty/calloc.c b/libiberty/calloc.c index 334b18db86a..b342f6c1b3b 100644 --- a/libiberty/calloc.c +++ b/libiberty/calloc.c @@ -1,5 +1,16 @@ /* calloc -- allocate memory which has been initialized to zero. This function is in the public domain. */ + +/* + +@deftypefn Supplemental void* calloc (size_t @var{nelem}, size_t @var{elsize}) + +Uses @code{malloc} to allocate storage for @var{nelem} objects of +@var{elsize} bytes each, then zeros the memory. + +@end deftypefn + +*/ #include "ansidecl.h" #include "libiberty.h" |