diff options
author | Marvin Borner | 2019-12-07 13:40:28 +0100 |
---|---|---|
committer | Marvin Borner | 2019-12-07 13:40:28 +0100 |
commit | d94b024b73aeca06de417e0fd3c502495312a8b2 (patch) | |
tree | bff5cc1b757eeed7f58878cc13551c63464c5a31 /src/mlibc/string/strcmp.c | |
parent | 322167ceab19588473f9074e761390fdeb701790 (diff) |
Added userspace libc and began userspace based shell
Diffstat (limited to 'src/mlibc/string/strcmp.c')
-rw-r--r-- | src/mlibc/string/strcmp.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mlibc/string/strcmp.c b/src/mlibc/string/strcmp.c deleted file mode 100644 index be6c17a..0000000 --- a/src/mlibc/string/strcmp.c +++ /dev/null @@ -1,10 +0,0 @@ -#include <mlibc/string.h> - -char strcmp(const char *a, const char *b) -{ - if (strlen(a) != strlen(b)) return 1; - - for (size_t i = 0; i < strlen(a); i++) if (a[i] != b[i]) return 1; - - return 0; -}
\ No newline at end of file |