|
|
1.1 root 1: /* blkequ.c - blkequ */
2:
3: #include <kernel.h>
4:
5: /*------------------------------------------------------------------------
6: * blkequ - return TRUE iff one block of memory is equal to another
7: *------------------------------------------------------------------------
8: */
9: blkequ(first, second, nbytes)
10: register char *first;
11: register char *second;
12: register int nbytes;
13: {
14: while (--nbytes >= 0)
15: if (*first++ != *second++)
16: return(FALSE);
17: return(TRUE);
18: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.