4.3BSD-UWisc/src/usr.lib/libloc/strecat.c

Compare this file to the similar file:
Show the results in this format:

char *
strecat(s1,s2)
register char *s1,*s2;
{
	while(*s1)
		s1++;
	while(*s1++ = *s2++)
		;
	return( --s1 );
}

char *
strecpy(s1,s2)
register char *s1,*s2;
{
	while(*s1++ = *s2++)
		;
	return( --s1 );
}