strcoll.c (187B)
1 #include <string.h> 2 #undef strcoll 3 4 int 5 strcoll(const char *s1, const char *s2) 6 { 7 while (*s1 && *s2 && *s1 == *s2) 8 ++s1, ++s2; 9 return *(unsigned char *) s1 - *(unsigned char *) s2; 10 }
sccsimple C compiler | |
git clone git://git.2f30.org/scc | |
Log | Files | Refs | README | LICENSE |