Changeset 609 for branches/GNU/src/binutils/libiberty/xmemdup.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/xmemdup.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 2 2 This trivial function is in the public domain. 3 3 Jeff Garzik, September 1999. */ 4 5 /* 6 7 @deftypefn Replacement void* xmemdup (void *@var{input}, size_t @var{copy_size}, size_t @var{alloc_size}) 8 9 Duplicates a region of memory without fail. First, @var{alloc_size} bytes 10 are allocated, then @var{copy_size} bytes from @var{input} are copied into 11 it, and the new memory is returned. If fewer bytes are copied than were 12 allocated, the remaining memory is zeroed. 13 14 @end deftypefn 15 16 */ 4 17 5 18 #ifdef HAVE_CONFIG_H -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.