shithub: scc

ref: 38f03e07a073bba716564f05dcc9e8ee891805cd
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;
}