ref: 3cce2df50df508019c1e511625f13832965ef28a
dir: /libc/src/strcoll.c/
/* See LICENSE file for copyright and license details. */
#include <string.h>
int
strcoll(const char *s1, const char *s2)
{
while (*s1 && *s2 && *s1 != *s2)
++s1, ++s2;
return *s1 - *s2;
}