aboutsummaryrefslogtreecommitdiff
path: root/src/mlibc/string/strcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlibc/string/strcat.c')
-rw-r--r--src/mlibc/string/strcat.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mlibc/string/strcat.c b/src/mlibc/string/strcat.c
deleted file mode 100644
index 0448430..0000000
--- a/src/mlibc/string/strcat.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <mlibc/string.h>
-
-void strcat(char *dest, const char *orig)
-{
- size_t s_dest = strlen(dest);
- size_t s_orig = strlen(orig);
-
- for (size_t i = 0; i < s_orig; i++) dest[s_dest + i] = orig[i];
- dest[s_dest + s_orig] = 0;
-} \ No newline at end of file