aboutsummaryrefslogtreecommitdiff
path: root/src/mlibc/string/strcmp.c
diff options
context:
space:
mode:
authorMarvin Borner2019-12-07 13:40:28 +0100
committerMarvin Borner2019-12-07 13:40:28 +0100
commitd94b024b73aeca06de417e0fd3c502495312a8b2 (patch)
treebff5cc1b757eeed7f58878cc13551c63464c5a31 /src/mlibc/string/strcmp.c
parent322167ceab19588473f9074e761390fdeb701790 (diff)
Added userspace libc and began userspace based shell
Diffstat (limited to 'src/mlibc/string/strcmp.c')
-rw-r--r--src/mlibc/string/strcmp.c10
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