xref: /haiku/src/system/libroot/posix/string/bcmp.c (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
1 /*
2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
4 */
5 
6 
7 #include <sys/types.h>
8 #include <string.h>
9 
10 
11 #ifdef bcmp
12 #	undef bcmp
13 #endif
14 
15 int bcmp(void const *a, const void *b, size_t bytes);
16 
17 int
18 bcmp(void const *a, const void *b, size_t bytes)
19 {
20 	return memcmp(a, b, bytes);
21 }
22 
23