No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / mvme68k / stand / libbug / instat.c
blobc6e5a902d214bfdb8f82da5aaf9e72fd906360f7
1 /* $NetBSD: instat.c,v 1.2 1996/05/17 19:50:52 chuck Exp $ */
3 /*
4 * bug routines -- assumes that the necessary sections of memory
5 * are preserved.
6 */
7 #include <sys/types.h>
8 #include <machine/prom.h>
10 #include "libbug.h"
12 /* returns 0 if no characters ready to read */
13 int
14 peekchar(void)
16 int ret;
18 MVMEPROM_NOARG();
19 MVMEPROM_CALL(MVMEPROM_INSTAT);
20 MVMEPROM_STATRET(ret);