ref: 1e3dd27b9b1dcd2c8f16a0f51effaade0e12c227
dir: /lib/c/src/strcmp.c/
#include <string.h>
#undef strcmp
int
strcmp(const char *s1, const char *s2)
{
while (*s1 && *s2 && *s1 == *s2)
++s1, ++s2;
return *(unsigned char *)s1 - *(unsigned char *)s2;
}