aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/string/strcati.c
blob: 9ee3a432d031b4f1514fed6f4f5299dbce29dba7 (plain) (blame)
1
2
3
4
5
6
7
8
#include <kernel/lib/string.h>

void strcati(char *dest, const char *orig)
{
    size_t s_orig = strlen(orig);
    strdisp(dest, (int) s_orig);
    for (size_t i = 0; i < s_orig; i++) dest[i] = orig[i];
}