home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_DEV08B.LHA / gerlib / string / normal / memcpy.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-12  |  335 b   |  19 lines

  1. #if defined(LIBC_SCCS) && !defined(lint)
  2. static char sccsid[] = "@(#)memcpy.c    1.0 (mw)";
  3. #endif /* LIBC_SCCS and not lint */
  4.  
  5. #include <sys/stdc.h>
  6. #include <string.h>
  7.  
  8. #include <inline/exec.h>
  9.  
  10. void *
  11. memcpy(dst0, src0, length)
  12.     void *dst0;
  13.     const void *src0;
  14.     size_t length;
  15. {
  16.     CopyMem ((char *)src0, dst0, length);
  17.     return(dst0);
  18. }
  19.