Go to the source code of this file.
◆ cprintf
◆ cscanf
◆ _cgets()
Definition at line 392 of file console.c.
393{
397
403
405 if(
buf[got-2] ==
'\r') {
408 }
409 else if(got == 1 &&
buf[got-1] ==
'\n') {
412 }
413 else if(got ==
str[0] &&
buf[got-1] ==
'\r') {
416 }
417 else
419 }
420 else
425}
BOOL WINAPI GetConsoleMode(HANDLE hConsoleHandle, LPDWORD lpMode)
BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleMode(HANDLE hConsoleHandle, DWORD dwMode)
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleA(IN HANDLE hConsoleInput, OUT LPVOID lpBuffer, IN DWORD nNumberOfCharsToRead, OUT LPDWORD lpNumberOfCharsRead, IN PCONSOLE_READCONSOLE_CONTROL pInputControl OPTIONAL)
static HANDLE msvcrt_input_console(void)
GLenum GLuint GLenum GLsizei const GLchar * buf
#define ENABLE_ECHO_INPUT
#define ENABLE_LINE_INPUT
#define ENABLE_PROCESSED_INPUT
◆ _cprintf()
Definition at line 563 of file console.c.
564{
567
571
573}
int CDECL _vcprintf(const char *format, va_list valist)
◆ _cputs()
Definition at line 78 of file console.c.
79{
82
85
92}
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleA(IN HANDLE hConsoleOutput, IN CONST VOID *lpBuffer, IN DWORD nNumberOfCharsToWrite, OUT LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved)
static HANDLE msvcrt_output_console(void)
_ACRTIMP size_t __cdecl strlen(const char *)
#define MSVCRT_CHECK_PMT(x)
GLuint GLuint GLsizei count
Referenced by cputs().
◆ _cscanf()
◆ _getch()
Definition at line 218 of file console.c.
219{
221
226}
int CDECL _getch_nolock(void)
Referenced by getch().
◆ _getche()
Definition at line 354 of file console.c.
355{
357
362}
int CDECL _getche_nolock(void)
Referenced by getche().
◆ _kbhit()
Definition at line 474 of file console.c.
475{
477
481 else
482 {
483
486
488
492 {
494 ir[
i].
Event.KeyEvent.bKeyDown &&
495 ir[
i].Event.KeyEvent.uChar.AsciiChar)
496 {
498 break;
499 }
500 }
502 }
505}
BOOL WINAPI GetNumberOfConsoleInputEvents(HANDLE hConsoleInput, LPDWORD lpNumberOfEvents)
BOOL WINAPI DECLSPEC_HOTPATCH PeekConsoleInputA(IN HANDLE hConsoleInput, OUT PINPUT_RECORD lpBuffer, IN DWORD nLength, OUT LPDWORD lpNumberOfEventsRead)
static int __MSVCRT_console_buffer
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ EVENT_TYPE EventType
Referenced by kbhit().
◆ _putch()
◆ _ungetch()
Definition at line 441 of file console.c.
442{
447}
int CDECL _ungetch_nolock(int c)
Referenced by ungetch().
◆ cgets()
◆ cputs()
Definition at line 42 of file conio.h.
_ACRTIMP int __cdecl _cputs(const char *)
◆ getch()
◆ getche()
Definition at line 44 of file conio.h.
_ACRTIMP int __cdecl _getche(void)
◆ kbhit()
Definition at line 45 of file conio.h.
_ACRTIMP int __cdecl _kbhit(void)
◆ putch()
Definition at line 46 of file conio.h.
_ACRTIMP int __cdecl _putch(int)
◆ ungetch()
Definition at line 47 of file conio.h.
_ACRTIMP int __cdecl _ungetch(int)