home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 21
/
CD_ASCQ_21_040595.iso
/
dos
/
prg
/
c
/
freedos3
/
source
/
jh_utils
/
getkey.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-01-07
|
388b
|
17 lines
#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 ());
}