FreeBSD/sys/kern/subr_prf.c
/*
 * Ttyprintf displays a message on a tty; it should be used only by
 * the tty driver, or anything that knows the underlying tty will not
 * be revoke(2)'d away.  Other callers should use tprintf.
 */
Ttyprintf displays a message on a tty; it should be used only by
the tty driver, or anything that knows the underlying tty will not
be revoke(2)'d away.  Other callers should use tprintf.
Ttyprintf displays a message on a tty ; it should be used only by the tty driver or anything that knows the underlying tty will not be revoke ( 2 ) ' d away . Other callers should use tprintf .
int
ttyprintf(struct tty *tp, const char *fmt, ...)
{
	va_list ap;
	struct putchar_arg pca;
	int retval;
	va_start(ap, fmt);
	pca.tty = tp;
	pca.flags = TOTTY;
	pca.p_bufr = NULL;
	retval = kvprintf(fmt, putchar, &pca, 10, ap);
	va_end(ap);
	return (retval);
}
int ttyprintf ( struct tty * tp , const char * fmt , ... ) { va_list ap ; struct putchar_arg pca ; int retval ; va_start ( ap , fmt ) ; pca . tty = tp ; pca . flags = TOTTY ; pca . p_bufr = NULL ; retval = kvprintf ( fmt , putchar , & pca , 10 , ap ) ; va_end ( ap ) ; return ( retval ) ; }
Ttyprintf displays a message on a tty; it should be used only by
 the tty driver, or anything that knows the underlying tty will not
 be revoke(2)'d away.
Ttyprintf displays a message on a tty ; it should be used only by the tty driver or anything that knows the underlying tty will not be revoke ( 2 ) ' d away .