git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
feat: simple device abstraction layer
[lunaix-os.git]
/
lunaix-os
/
libs
/
klibc
/
string
/
strcmp.c
1
#include <klibc/string.h>
2
3
int
4
streq(const char* a, const char* b)
5
{
6
while (*a == *b) {
7
if (!(*a)) {
8
return 1;
9
}
10
a++;
11
b++;
12
}
13
return 0;
14
}