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/memcpy.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    33
    44/*
    5 NAME
    6         memcpy -- copy memory regions of arbitary length
    75
    8 SYNOPSIS
    9         void* memcpy (void *out, const void *in, size_t n);
     6@deftypefn Supplemental void* memcpy (void *@var{out}, const void *@var{in}, size_t @var{length})
    107
    11 DESCRIPTION
    12         Copy LENGTH bytes from memory region pointed to by IN to memory
    13         region pointed to by OUT.
     8Copies @var{length} bytes from memory region @var{in} to region
     9@var{out}.  Returns a pointer to @var{out}.
     10
     11@end deftypefn
     12
    1413*/
    1514
    1615#include <ansidecl.h>
    17 #ifdef __STDC__
     16#ifdef ANSI_PROTOTYPES
    1817#include <stddef.h>
    1918#else
     
    2120#endif
    2221
     22void bcopy PARAMS((const void*, void*, size_t));
     23
    2324PTR
    24 DEFUN(memcpy, (out, in, length), PTR out AND const PTR in AND size_t length)
     25memcpy (out, in, length)
     26     PTR out;
     27     const PTR in;
     28     size_t length;
    2529{
    2630    bcopy(in, out, length);
Note: See TracChangeset for help on using the changeset viewer.