feat: vfs - path walking and dnode caching.
[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 }