source:
trunk/minix/lib/other/bcmp.c@
9
| Last change on this file since 9 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 242 bytes | |
| Line | |
|---|---|
| 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 | } |
Note:
See TracBrowser
for help on using the repository browser.