/* outbyte * * This routine transmits a character out the SOURCE. It may support * XON/XOFF flow control. */ static void outbyte( char ch ) { char buf[10]; /* * If polling, wait for the transmitter to be ready. * Check for flow control requests and process. * Then output the character. */ buf[0] = ch; YAMON_FUNC_PRINT_COUNT(buf,1); }
void outbyte( char ch ) { char buf[10]; /* * If polling, wait for the transmitter to be ready. * Check for flow control requests and process. * Then output the character. */ buf[0] = ch; YAMON_FUNC_PRINT_COUNT(buf,1); /* mon_write( 1, buf, 1 ); */ /* stdout is fd=1, write 1 byte */ }