1 /* bcopy.c -- copy memory.
2 Copy LENGTH bytes from SOURCE to DEST. Does not null-terminate.
4 By David MacKenzie <djm@gnu.ai.mit.edu>. */
11 bcopy (void const *source0, void *dest0, size_t length)
13 char const *source = source0;
16 /* Moving from low mem to hi mem; start at end. */
17 for (source += length, dest += length; length; --length)
19 else if (source != dest)
20 /* Moving from hi mem to low mem; start at beginning. */
21 for (; length; --length)