1 /* memcpy.c -- copy memory.
2 Copy LENGTH bytes from SOURCE to DEST. Does not null-terminate.
3 The source and destination regions may not overlap.
7 /* FIXME: remove this before release. */
10 # define ABS(x) ((x) < 0 ? (-(x)) : (x))
14 memcpy (dest, source, length)
20 /* Make sure they don't overlap. */
21 assert (ABS (dest - source) >= length);
23 for (; length; --length)