home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / gnuc / string / rcs / memcpy.c,v < prev    next >
Encoding:
Text File  |  1992-07-04  |  539 b   |  44 lines

  1. head    1.1;
  2. access;
  3. symbols
  4.     version39-41:1.1;
  5. locks;
  6. comment    @ * @;
  7.  
  8.  
  9. 1.1
  10. date    92.06.08.17.58.42;    author mwild;    state Exp;
  11. branches;
  12. next    ;
  13.  
  14.  
  15. desc
  16. @initial checkin
  17. @
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @#if defined(LIBC_SCCS) && !defined(lint)
  26. static char sccsid[] = "@@(#)memcpy.c    1.0 (mw)";
  27. #endif /* LIBC_SCCS and not lint */
  28.  
  29. #include <sys/stdc.h>
  30. #include <string.h>
  31.  
  32. #include <inline/exec.h>
  33.  
  34. void *
  35. memcpy(dst0, src0, length)
  36.     void *dst0;
  37.     const void *src0;
  38.     size_t length;
  39. {
  40.     CopyMem ((char *)src0, dst0, length);
  41.     return(dst0);
  42. }
  43. @
  44.