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