diff options
Diffstat (limited to 'src/kernel/lib/string/strcpy.c')
-rw-r--r-- | src/kernel/lib/string/strcpy.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/kernel/lib/string/strcpy.c b/src/kernel/lib/string/strcpy.c deleted file mode 100644 index 5d7f194..0000000 --- a/src/kernel/lib/string/strcpy.c +++ /dev/null @@ -1,10 +0,0 @@ -#include <lib/string.h> - -void strcpy(char *dest, const char *orig) -{ - u32 s_orig = strlen(orig); - - for (u32 i = 0; i < s_orig; i++) - dest[i] = orig[i]; - dest[s_orig] = 0; -}
\ No newline at end of file |