minix/lib/other/bcmp.c
2005-04-21 14:53:53 +00:00

13 lines
242 B
C
Executable file

#include <lib.h>
/* bcmp - Berklix equivalent of memcmp */
#include <string.h>
int bcmp(s1, s2, length) /* == 0 or != 0 for equality and inequality */
_CONST void *s1;
_CONST void *s2;
size_t length;
{
return(memcmp(s1, s2, length));
}