xref: /haiku/src/system/libroot/posix/string/bcopy.c (revision f75a7bf508f3156d63a14f8fd77c5e0ca4d08c42)
1 /*
2 ** Copyright 2001, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 
6 
7 #include <sys/types.h>
8 #include <string.h>
9 
10 #ifdef bcopy
11 #	undef bcopy
12 #endif
13 
14 void *bcopy(void const *src, void *dest, size_t count);
15 
16 void *
17 bcopy(void const *src, void *dest, size_t count)
18 {
19 	return memmove(dest, src, count);
20 }
21 
22