ARM application development SDK for MNT ZZ9000 graphics and coprocessor card for classic Amiga computers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

memcpy.c 198B

12345678910111213
  1. /* Public domain. */
  2. #include <stddef.h>
  3. void *
  4. memcpy (void *dest, const void *src, size_t len)
  5. {
  6. char *d = dest;
  7. const char *s = src;
  8. while (len--) {
  9. *d++ = *s++;
  10. }
  11. return dest;
  12. }