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