Sign in
cobalt
/
cobalt
/
d2bc3b69d823bbaf46d1c4355b23486a85a6d791
/
.
/
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
;
}