void prom_console_write_buf(const char *buf, int len) { while (len) { int n = prom_nbputchar(buf); if (n < 0) continue; len--; buf++; } }
/* Blocking version of put character routine above. */ void prom_putchar(char c) { prom_nbputchar(c); return; }
/* Blocking version of put character routine above. */ void prom_putchar(char c) { while(prom_nbputchar(c) == -1) ; return; }