Changeset 609 for branches/GNU/src/binutils/libiberty/memcpy.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/memcpy.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 3 3 4 4 /* 5 NAME6 memcpy -- copy memory regions of arbitary length7 5 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}) 10 7 11 DESCRIPTION 12 Copy LENGTH bytes from memory region pointed to by IN to memory 13 region pointed to by OUT. 8 Copies @var{length} bytes from memory region @var{in} to region 9 @var{out}. Returns a pointer to @var{out}. 10 11 @end deftypefn 12 14 13 */ 15 14 16 15 #include <ansidecl.h> 17 #ifdef __STDC__16 #ifdef ANSI_PROTOTYPES 18 17 #include <stddef.h> 19 18 #else … … 21 20 #endif 22 21 22 void bcopy PARAMS((const void*, void*, size_t)); 23 23 24 PTR 24 DEFUN(memcpy, (out, in, length), PTR out AND const PTR in AND size_t length) 25 memcpy (out, in, length) 26 PTR out; 27 const PTR in; 28 size_t length; 25 29 { 26 30 bcopy(in, out, length); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.