headers/bsd: Add sys/queue.h.
[haiku.git] / src / system / libroot / posix / string / bcopy.c
blobff5e4367a790581addff65f95542242219766370
1 /*
2 ** Copyright 2001, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
7 #include <sys/types.h>
8 #include <string.h>
10 #ifdef bcopy
11 # undef bcopy
12 #endif
14 void *bcopy(void const *src, void *dest, size_t count);
16 void *
17 bcopy(void const *src, void *dest, size_t count)
19 return memmove(dest, src, count);