repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git]
/
lib
/
other
/
bcmp.c
blob
e9b5f0f6b330553b074fdad7ef1e41e419939c8e
1
#include <lib.h>
2
/* bcmp - Berklix equivalent of memcmp */
3
4
#include <string.h>
5
6
int
bcmp
(
s1
,
s2
,
length
)
/* == 0 or != 0 for equality and inequality */
7
_CONST
void
*
s1
;
8
_CONST
void
*
s2
;
9
size_t
length
;
10
{
11
return
(
memcmp
(
s1
,
s2
,
length
));
12
}