char *tptr;
u_char *tptr;
void cloutput(tp)	struct tty *tp;{	int cc, s, unit, cnt;	char *tptr;	int channel;	struct clsoftc *sc;	dev_t dev;	char cl_obuffer[CLCDBUF+1];	dev = tp->t_dev;	unit = CL_UNIT(dev);	if (unit >= clcd.cd_ndevs || 		(sc = (struct clsoftc *) clcd.cd_devs[unit]) == NULL) {		return;	}	channel = CL_CHANNEL(dev);	if ((tp->t_state & TS_ISOPEN) == 0)		return;	s = splcl();	cc = tp->t_outq.c_cc;	while (cc > 0) {/*XXX*/		cnt = min (CLCDBUF,cc);		cnt = q_to_b(&tp->t_outq, cl_obuffer, cnt);		if (cnt == 0) {			break;		}		for (tptr = cl_obuffer; tptr < &cl_obuffer[cnt]; tptr++) {			clputc(sc, channel, *tptr);		}		cc -= cnt;	}	splx(s);}