1 /* memmove -- copy memory regions of arbitary length
2 Copyright (C) 1991 Free Software Foundation, Inc.
4 This file is part of the libiberty library.
5 Libiberty is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 Libiberty is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
22 memmove -- copy memory regions of arbitary length
26 void memmove (void *out, const void *in, size_t n);
30 Copy LENGTH bytes from memory region pointed to by IN to memory
31 region pointed to by OUT.
33 Regions can be overlapping.
43 #define size_t unsigned long
47 memmove (out
, in
, length
)
52 bcopy(in
, out
, length
);