Sign in
cobalt
/
cobalt
/
b95ea55ccebda33f820d043e4b4dc85c10d7584d
/
.
/
third_party
/
musl
/
src
/
string
/
strcmp.c
blob: 808bd8370ddeca3a2cfc124601cbd6012be89f80 [
file
] [
log
] [
blame
]
#include
<string.h>
int
strcmp
(
const
char
*
l
,
const
char
*
r
)
{
for
(;
*
l
==*
r
&&
*
l
;
l
++,
r
++);
return
*(
unsigned
char
*)
l
-
*(
unsigned
char
*)
r
;
}