ref: e6a90cd2d996bc93d89c52d6cc0b1b222105568a
dir: /src/libc/string/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; }