mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
fixed bug in getch
svn path=/trunk/; revision=255
This commit is contained in:
parent
95a2cd9225
commit
4ad5db5d9c
1 changed files with 3 additions and 5 deletions
|
@ -7,17 +7,15 @@
|
||||||
* UPDATE HISTORY:
|
* UPDATE HISTORY:
|
||||||
* 28/12/98: Created
|
* 28/12/98: Created
|
||||||
*/
|
*/
|
||||||
|
#include <windows.h>
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <windows.h>
|
#include <io.h>
|
||||||
|
|
||||||
|
|
||||||
extern int char_avail;
|
extern int char_avail;
|
||||||
extern int ungot_char;
|
extern int ungot_char;
|
||||||
|
|
||||||
int getch( void )
|
|
||||||
{
|
|
||||||
return _getch();
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
_getch(void)
|
_getch(void)
|
||||||
|
|
Loading…
Reference in a new issue