(...)\SDK\src\crt\getch.c
/***
*getch.c - contains _getch(), _getche(), _ungetch() and kbhit for Win32
*
* Copyright (c) 1989-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Defines the "direct console" functions listed above.
*
* NOTE: The real-mode DOS versions of these functions read from
* standard input and are therefore redirected when standard input
* is redirected. However, these versions ALWAYS read from the console,
* even when standard input is redirected.
*
*******************************************************************************/
Partager