summaryrefslogtreecommitdiff
path: root/src/string/strcat.c
blob: 33f749b1d21c59c0308a08d6bed1339607a0bbd5 (plain) (blame)
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;
}