Commit d4fab071 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Add _getwche implementation.

parent 9a10a716
......@@ -909,8 +909,8 @@
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
@ cdecl _getwch()
@ cdecl _getwch_nolock()
@ stub _getwche
@ stub _getwche_nolock
@ cdecl _getwche()
@ cdecl _getwche_nolock()
@ cdecl _getws(ptr) MSVCRT__getws
@ stub _getws_s
@ cdecl -arch=i386 _global_unwind2(ptr)
......
......@@ -1256,8 +1256,8 @@
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
@ cdecl _getwch()
@ cdecl _getwch_nolock()
@ stub _getwche
@ stub _getwche_nolock
@ cdecl _getwche()
@ cdecl _getwche_nolock()
@ cdecl _getws(ptr) MSVCRT__getws
@ stub _getws_s
@ cdecl -arch=i386 _global_unwind2(ptr)
......
......@@ -1254,8 +1254,8 @@
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
@ cdecl _getwch()
@ cdecl _getwch_nolock()
@ stub _getwche
@ stub _getwche_nolock
@ cdecl _getwche()
@ cdecl _getwche_nolock()
@ cdecl _getws(ptr) MSVCRT__getws
@ stub _getws_s
@ cdecl -arch=i386 _global_unwind2(ptr)
......
......@@ -344,7 +344,7 @@
@ stub _getsystime(ptr)
@ cdecl _getw(ptr) MSVCRT__getw
@ cdecl _getwch()
@ stub _getwche
@ cdecl _getwche()
@ cdecl _getws(ptr) MSVCRT__getws
@ cdecl -arch=i386 _global_unwind2(ptr)
@ cdecl _gmtime64(ptr) MSVCRT__gmtime64
......
......@@ -339,7 +339,7 @@
@ stub _getsystime(ptr)
@ cdecl _getw(ptr) MSVCRT__getw
@ cdecl _getwch()
@ stub _getwche
@ cdecl _getwche()
@ cdecl _getws(ptr) MSVCRT__getws
@ cdecl -arch=i386 _global_unwind2(ptr)
@ cdecl _gmtime64(ptr) MSVCRT__gmtime64
......
......@@ -583,8 +583,8 @@
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
@ cdecl _getwch()
@ cdecl _getwch_nolock()
@ stub _getwche
@ stub _getwche_nolock
@ cdecl _getwche()
@ cdecl _getwche_nolock()
@ cdecl _getws(ptr) MSVCRT__getws
@ stub _getws_s
@ cdecl -arch=i386 _global_unwind2(ptr)
......
......@@ -560,8 +560,8 @@
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
@ cdecl _getwch()
@ cdecl _getwch_nolock()
@ stub _getwche
@ stub _getwche_nolock
@ cdecl _getwche()
@ cdecl _getwche_nolock()
@ cdecl _getws(ptr) MSVCRT__getws
@ stub _getws_s
@ cdecl -arch=i386 _global_unwind2(ptr)
......
......@@ -354,6 +354,31 @@ int CDECL _getche(void)
}
/*********************************************************************
* _getwche_nolock (MSVCR80.@)
*/
MSVCRT_wchar_t CDECL _getwche_nolock(void)
{
MSVCRT_wchar_t wch;
wch = _getch_nolock();
if (wch == MSVCRT_WEOF)
return wch;
return _putwch_nolock(wch);
}
/*********************************************************************
* _getwche (MSVCRT.@)
*/
MSVCRT_wchar_t CDECL _getwche(void)
{
MSVCRT_wchar_t ret;
LOCK_CONSOLE;
ret = _getwche_nolock();
UNLOCK_CONSOLE;
return ret;
}
/*********************************************************************
* _cgets (MSVCRT.@)
*/
char* CDECL _cgets(char* str)
......
......@@ -534,7 +534,7 @@
@ stub _getsystime(ptr)
@ cdecl _getw(ptr) MSVCRT__getw
@ cdecl _getwch()
# stub _getwche()
@ cdecl _getwche()
@ cdecl _getws(ptr) MSVCRT__getws
@ cdecl -arch=i386 _global_unwind2(ptr)
@ cdecl _gmtime32(ptr) MSVCRT__gmtime32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment