xref: /386bsd/usr/src/bootstrap/boot/prf.c (revision a2142627)
1 /*
2  * Copyright (c) 1989 William F. Jolitz.
3  * 386BSD Copyright Restrictions Apply. All Other Rights Reserved.
4  *
5  * $Id: prf.c,v 1.1 94/10/20 16:45:30 root Exp $
6  * dummy interface functions.
7  */
8 
9 #include "sys/types.h"
10 
putchar(c)11 putchar(c)
12 char c;
13 {
14         if (c == '\n')
15 		sput('\r');
16 	sput(c);
17 	return(0);
18 }
19 
wait(n)20 wait(n) {
21 	int v;
22 
23 	while(n-- /* && (v = scankbd()) == 0*/);
24 	if (v) kbdreset();
25 }
26