forked from Mirrors/wine-wine
msvcrt: Add _getwche implementation.
parent
9a10a71638
commit
d4fab07110
|
@ -909,8 +909,8 @@
|
||||||
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
||||||
@ cdecl _getwch()
|
@ cdecl _getwch()
|
||||||
@ cdecl _getwch_nolock()
|
@ cdecl _getwch_nolock()
|
||||||
@ stub _getwche
|
@ cdecl _getwche()
|
||||||
@ stub _getwche_nolock
|
@ cdecl _getwche_nolock()
|
||||||
@ cdecl _getws(ptr) MSVCRT__getws
|
@ cdecl _getws(ptr) MSVCRT__getws
|
||||||
@ stub _getws_s
|
@ stub _getws_s
|
||||||
@ cdecl -arch=i386 _global_unwind2(ptr)
|
@ cdecl -arch=i386 _global_unwind2(ptr)
|
||||||
|
|
|
@ -1256,8 +1256,8 @@
|
||||||
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
||||||
@ cdecl _getwch()
|
@ cdecl _getwch()
|
||||||
@ cdecl _getwch_nolock()
|
@ cdecl _getwch_nolock()
|
||||||
@ stub _getwche
|
@ cdecl _getwche()
|
||||||
@ stub _getwche_nolock
|
@ cdecl _getwche_nolock()
|
||||||
@ cdecl _getws(ptr) MSVCRT__getws
|
@ cdecl _getws(ptr) MSVCRT__getws
|
||||||
@ stub _getws_s
|
@ stub _getws_s
|
||||||
@ cdecl -arch=i386 _global_unwind2(ptr)
|
@ cdecl -arch=i386 _global_unwind2(ptr)
|
||||||
|
|
|
@ -1254,8 +1254,8 @@
|
||||||
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
||||||
@ cdecl _getwch()
|
@ cdecl _getwch()
|
||||||
@ cdecl _getwch_nolock()
|
@ cdecl _getwch_nolock()
|
||||||
@ stub _getwche
|
@ cdecl _getwche()
|
||||||
@ stub _getwche_nolock
|
@ cdecl _getwche_nolock()
|
||||||
@ cdecl _getws(ptr) MSVCRT__getws
|
@ cdecl _getws(ptr) MSVCRT__getws
|
||||||
@ stub _getws_s
|
@ stub _getws_s
|
||||||
@ cdecl -arch=i386 _global_unwind2(ptr)
|
@ cdecl -arch=i386 _global_unwind2(ptr)
|
||||||
|
|
|
@ -344,7 +344,7 @@
|
||||||
@ stub _getsystime(ptr)
|
@ stub _getsystime(ptr)
|
||||||
@ cdecl _getw(ptr) MSVCRT__getw
|
@ cdecl _getw(ptr) MSVCRT__getw
|
||||||
@ cdecl _getwch()
|
@ cdecl _getwch()
|
||||||
@ stub _getwche
|
@ cdecl _getwche()
|
||||||
@ cdecl _getws(ptr) MSVCRT__getws
|
@ cdecl _getws(ptr) MSVCRT__getws
|
||||||
@ cdecl -arch=i386 _global_unwind2(ptr)
|
@ cdecl -arch=i386 _global_unwind2(ptr)
|
||||||
@ cdecl _gmtime64(ptr) MSVCRT__gmtime64
|
@ cdecl _gmtime64(ptr) MSVCRT__gmtime64
|
||||||
|
|
|
@ -339,7 +339,7 @@
|
||||||
@ stub _getsystime(ptr)
|
@ stub _getsystime(ptr)
|
||||||
@ cdecl _getw(ptr) MSVCRT__getw
|
@ cdecl _getw(ptr) MSVCRT__getw
|
||||||
@ cdecl _getwch()
|
@ cdecl _getwch()
|
||||||
@ stub _getwche
|
@ cdecl _getwche()
|
||||||
@ cdecl _getws(ptr) MSVCRT__getws
|
@ cdecl _getws(ptr) MSVCRT__getws
|
||||||
@ cdecl -arch=i386 _global_unwind2(ptr)
|
@ cdecl -arch=i386 _global_unwind2(ptr)
|
||||||
@ cdecl _gmtime64(ptr) MSVCRT__gmtime64
|
@ cdecl _gmtime64(ptr) MSVCRT__gmtime64
|
||||||
|
|
|
@ -583,8 +583,8 @@
|
||||||
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
||||||
@ cdecl _getwch()
|
@ cdecl _getwch()
|
||||||
@ cdecl _getwch_nolock()
|
@ cdecl _getwch_nolock()
|
||||||
@ stub _getwche
|
@ cdecl _getwche()
|
||||||
@ stub _getwche_nolock
|
@ cdecl _getwche_nolock()
|
||||||
@ cdecl _getws(ptr) MSVCRT__getws
|
@ cdecl _getws(ptr) MSVCRT__getws
|
||||||
@ stub _getws_s
|
@ stub _getws_s
|
||||||
@ cdecl -arch=i386 _global_unwind2(ptr)
|
@ cdecl -arch=i386 _global_unwind2(ptr)
|
||||||
|
|
|
@ -560,8 +560,8 @@
|
||||||
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
@ cdecl _getwc_nolock(ptr) MSVCRT__fgetwc_nolock
|
||||||
@ cdecl _getwch()
|
@ cdecl _getwch()
|
||||||
@ cdecl _getwch_nolock()
|
@ cdecl _getwch_nolock()
|
||||||
@ stub _getwche
|
@ cdecl _getwche()
|
||||||
@ stub _getwche_nolock
|
@ cdecl _getwche_nolock()
|
||||||
@ cdecl _getws(ptr) MSVCRT__getws
|
@ cdecl _getws(ptr) MSVCRT__getws
|
||||||
@ stub _getws_s
|
@ stub _getws_s
|
||||||
@ cdecl -arch=i386 _global_unwind2(ptr)
|
@ cdecl -arch=i386 _global_unwind2(ptr)
|
||||||
|
|
|
@ -353,6 +353,31 @@ int CDECL _getche(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* _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.@)
|
* _cgets (MSVCRT.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -534,7 +534,7 @@
|
||||||
@ stub _getsystime(ptr)
|
@ stub _getsystime(ptr)
|
||||||
@ cdecl _getw(ptr) MSVCRT__getw
|
@ cdecl _getw(ptr) MSVCRT__getw
|
||||||
@ cdecl _getwch()
|
@ cdecl _getwch()
|
||||||
# stub _getwche()
|
@ cdecl _getwche()
|
||||||
@ cdecl _getws(ptr) MSVCRT__getws
|
@ cdecl _getws(ptr) MSVCRT__getws
|
||||||
@ cdecl -arch=i386 _global_unwind2(ptr)
|
@ cdecl -arch=i386 _global_unwind2(ptr)
|
||||||
@ cdecl _gmtime32(ptr) MSVCRT__gmtime32
|
@ cdecl _gmtime32(ptr) MSVCRT__gmtime32
|
||||||
|
|
Loading…
Reference in New Issue