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

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