ReactOS
0.4.16-dev-2104-gb84fa49
Functions
getche.c File Reference
#include <precomp.h>
Include dependency graph for getche.c:
Go to the source code of this file.
Functions
int
_getche
(
void
)
Function Documentation
◆
_getche()
int
_getche
(
void
)
Definition at line
15
of file
getche.c
.
16
{
17
if
(
char_avail
)
18
/*
19
* We don't know, wether the ungot char was already echoed
20
* we assume yes (for example in cscanf, probably the only
21
* place where ungetch is ever called.
22
* There is no way to check for this really, because
23
* ungetch could have been called with a character that
24
* hasn't been got by a conio function.
25
* We don't echo again.
26
*/
27
return
(
_getch
());
28
return
(
_putch
(
_getch
()));
29
}
_getch
int CDECL _getch(void)
Definition:
console.c:218
_putch
int CDECL _putch(int c)
Definition:
console.c:309
char_avail
int char_avail
Definition:
ungetch.c:15
sdk
lib
crt
conio
getche.c
Generated on Tue Jan 6 2026 06:30:56 for ReactOS by
1.9.6