1 /* memmove.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 memmove (dest
, source
, length
)
17 /* Moving from low mem to hi mem; start at end. */
18 for (source
+= length
, dest
+= length
; length
; --length
)
20 else if (source
!= dest
)
21 /* Moving from hi mem to low mem; start at beginning. */
22 for (; length
; --length
)