From d94b024b73aeca06de417e0fd3c502495312a8b2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 7 Dec 2019 13:40:28 +0100 Subject: Added userspace libc and began userspace based shell --- src/mlibc/string/strcpy.c | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/mlibc/string/strcpy.c (limited to 'src/mlibc/string/strcpy.c') diff --git a/src/mlibc/string/strcpy.c b/src/mlibc/string/strcpy.c deleted file mode 100644 index 8dfa65f..0000000 --- a/src/mlibc/string/strcpy.c +++ /dev/null @@ -1,9 +0,0 @@ -#include - -void strcpy(char *dest, const char *orig) -{ - size_t s_orig = strlen(orig); - - for (size_t i = 0; i < s_orig; i++) dest[i] = orig[i]; - dest[s_orig] = 0; -} \ No newline at end of file -- cgit v1.2.3