jankos/stl/stdlib.c
2019-01-23 23:31:51 -08:00

9 lines
168 B
C

int memcmp(const void* left, const void* right, const unsigned length) {
for(unsigned i=0;i<length;i++) {
if(left[i] != right[i]) {
return 1;
}
}
return 0;
}