projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add fast path for normal mutexes back to pthread_mutex_lock
[oweals/musl.git]
/
src
/
string
/
strcmp.c
1
#include <string.h>
2
3
int strcmp(const char *l, const char *r)
4
{
5
for (; *l==*r && *l && *r; l++, r++);
6
return *(unsigned char *)l - *(unsigned char *)r;
7
}