summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/string/strcat.c
blob: 33f749b1d21c59c0308a08d6bed1339607a0bbd5 (plain)
1
2
3
4
5
6
7
#include <string.h>

char *strcat(char *restrict dest, const char *restrict src)
{
	strcpy(dest + strlen(dest), src);
	return dest;
}