aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/string/strcati.c
blob: 5dab2836d4f405892482353d5fcf9472778bec0a (plain) (blame)
1
2
3
4
5
6
7
8
9
#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];
}