view target-utils/libprintf/putchar.c @ 226:e7d5ce499693

loadtools and rvinterf: set TIOCEXCL on the tty
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 03 Aug 2017 00:37:59 +0000
parents e7502631a0f9
children
line wrap: on
line source

extern void serial_out();

void
putchar(ch)
{
	if (ch == '\n')
		serial_out('\r');
	serial_out(ch);
}