1 /* Copy LEN bytes starting at SRCADDR to DESTADDR. Result undefined
2 if the source overlaps with the destination.
7 /* FIXME: uncomment the following for releases. */
11 # define ABS(x) ((x) < 0 ? (-(x)) : (x))
15 memcpy (destaddr, srcaddr, len)
20 char *dest = destaddr;
23 /* Make sure they don't overlap. */
24 assert (ABS (destaddr - srcaddr) >= len);
27 *destaddr++ = *srcaddr++;