-/* $NetBSD: input.c,v 1.2 1995/04/22 07:42:34 cgd Exp $ */
+/* $NetBSD: input.c,v 1.4 1999/01/03 02:00:17 hubertf Exp $ */
/*-
* Copyright (c) 1992, 1993
{
int i;
struct timeval starttv, endtv, *s;
- extern int errno;
#define NILTZ ((struct timezone *)0)
/*
break;
}
-/*
- * Eat up any input (used at end of game).
- */
-void
-eat_input()
-{
- struct timeval tv;
- char c;
-
- do {
- tv.tv_sec = tv.tv_usec = 0;
- } while (rwait(&tv) && read(0, &c, 1) == 1);
-}
-
/*
* getchar with timeout.
*/