ack/lang/cem/libcc/gen/bcmp.c

14 lines
163 B
C
Raw Normal View History

1987-03-31 10:45:53 +00:00
/* $Header$ */
1987-01-27 15:57:55 +00:00
int
bcmp(b1, b2, n)
register char *b1, *b2;
register int n;
{
register int i;
while (n--) {
if (i = *b2++ - *b1++) return i;
}
return 0;
}