shithub: scc

ref: 3a91086edd50be172bf1f2305967e145d3c4faf8
dir: /src/libc/string/strcat.c/

View raw version
#include <string.h>
#undef strcat

char *
strcat(char * restrict dst, const char * restrict src)
{
	char *ret = dst;

	while (*dst)
		++dst;
	while (*dst++ = *src++)
		;
	return ret;
}