Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/xmemdup.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    22   This trivial function is in the public domain.
    33   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
     9Duplicates a region of memory without fail.  First, @var{alloc_size} bytes
     10are allocated, then @var{copy_size} bytes from @var{input} are copied into
     11it, and the new memory is returned.  If fewer bytes are copied than were
     12allocated, the remaining memory is zeroed.
     13
     14@end deftypefn
     15
     16*/
    417
    518#ifdef HAVE_CONFIG_H
Note: See TracChangeset for help on using the changeset viewer.