while ((c = *p2++) != '\0') {
while ((c = *p2++) != '\0' && len < sizeof(buf)) {
card(c, p2)	register int c;	register char *p2;{	char buf[BUFSIZ];	register char *p1 = buf;	register int len = 2;	*p1++ = c;	while ((c = *p2++) != '\0') {		*p1++ = (c == '\n') ? ' ' : c;		len++;	}	*p1++ = '\n';	write(tfd, buf, len);}