git: 9front

ref: 9d6d51b16c65a4ce11dca3dcb68a722a24ef44b6
dir: /sys/src/ape/lib/ap/gen/strcat.c/

View raw version
#include <string.h>

char*
strcat(char *s1, const char *s2)
{

	strcpy(strchr(s1, 0), s2);
	return s1;
}