home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / gcc / libnixV0_8.lha / gnu / libnix-sources.lha / sources / nix / string / memcpy.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-12  |  163 b   |  10 lines

  1. #include <string.h>
  2. #ifdef __GNUC__
  3. #include <inline/exec.h>
  4. #endif
  5.  
  6. void *memcpy(void *s1,const void *s2,size_t n)
  7. { CopyMem((APTR)s2,(APTR)s1,n);
  8.   return s1;
  9. }
  10.