Changeset 609 for branches/GNU/src/binutils/libiberty/calloc.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/calloc.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* calloc -- allocate memory which has been initialized to zero. 2 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 */ 3 14 4 15 #include "ansidecl.h" 5 #include "libiberty.h"6 7 16 #ifdef ANSI_PROTOTYPES 8 17 #include <stddef.h> … … 13 22 /* For systems with larger pointers than ints, this must be declared. */ 14 23 PTR malloc PARAMS ((size_t)); 24 void bzero PARAMS ((PTR, size_t)); 15 25 16 26 PTR -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.