Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
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
;
}