home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <conio.h> /* For getch() */
-
- /***************************************************************************
- * This function reads a character from the keyboard and returns it. Some
- * compilers already provide a getch.. this is an interface for those that
- * do not.
- * maitainer: James Hall
- * date: 12/26/94
- */
-
- int
- getkey (void)
- {
- return (getch ());
- }
-