/[gcl]/gcl/binutils/libiberty/memcpy.c
ViewVC logotype

Diff of /gcl/binutils/libiberty/memcpy.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by camm, Fri Aug 9 05:36:28 2002 UTC revision 1.2 by camm, Fri Sep 9 23:32:58 2005 UTC
# Line 13  Copies @var{length} bytes from memory re Line 13  Copies @var{length} bytes from memory re
13  */  */
14    
15  #include <ansidecl.h>  #include <ansidecl.h>
16  #ifdef __STDC__  #ifdef ANSI_PROTOTYPES
17  #include <stddef.h>  #include <stddef.h>
18  #else  #else
19  #define size_t unsigned long  #define size_t unsigned long
20  #endif  #endif
21    
22    void bcopy PARAMS((const void*, void*, size_t));
23    
24  PTR  PTR
25  DEFUN(memcpy, (out, in, length), PTR out AND const PTR in AND size_t length)  memcpy (out, in, length)
26         PTR out;
27         const PTR in;
28         size_t length;
29  {  {
30      bcopy(in, out, length);      bcopy(in, out, length);
31      return out;      return out;

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26