diff options
author | Marvin Borner | 2020-06-17 18:31:46 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-17 18:31:46 +0200 |
commit | eed77bd2970a00d1394ed027ceca5b646e4671ce (patch) | |
tree | c44643d98aed2b6818f2b33417c0dea9c5853094 /src/kernel/lib/string/strcpy.c | |
parent | 49dfa1f4021026bf7c4d77817959c8aa24067016 (diff) |
Started rewrite
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 |