register char *mp, *sp; register int ch;
char *mp, *sp; int ch;
appdstr(s, tp, len)	char *s;	register char *tp;	size_t len;{	register char *mp, *sp;	register int ch;	char *m;	if ((m = malloc(strlen(s) + len + 1)) == NULL)		err(1, NULL);	for (mp = m, sp = s; *mp++ = *sp++;);	--mp;	if (*(mp - 1) == '\\')		--mp;	while ((ch = *mp++ = *tp++) && ch != '\n');	*mp = '\0';	free(s);	return (m);}