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