msvcrt: Added _cscanf_l implementation.
This commit is contained in:
parent
2242f281ba
commit
8a69a936dc
|
@ -341,7 +341,7 @@
|
|||
@ cdecl _create_locale(long str) msvcrt._create_locale
|
||||
@ stub _crt_debugger_hook
|
||||
@ varargs _cscanf(str) msvcrt._cscanf
|
||||
@ stub _cscanf_l
|
||||
@ varargs _cscanf_l(str ptr) msvcrt._cscanf_l
|
||||
@ stub _cscanf_s
|
||||
@ stub _cscanf_s_l
|
||||
@ cdecl _ctime32(ptr) msvcrt._ctime32
|
||||
|
|
|
@ -333,7 +333,7 @@
|
|||
@ cdecl _create_locale(long str) msvcrt._create_locale
|
||||
@ stub _crt_debugger_hook
|
||||
@ varargs _cscanf(str) msvcrt._cscanf
|
||||
@ stub _cscanf_l
|
||||
@ varargs _cscanf_l(str ptr) msvcrt._cscanf_l
|
||||
@ stub _cscanf_s
|
||||
@ stub _cscanf_s_l
|
||||
@ cdecl _ctime32(ptr) msvcrt._ctime32
|
||||
|
|
|
@ -314,7 +314,7 @@
|
|||
# stub _crtBreakAlloc
|
||||
# stub _crtDbgFlag
|
||||
@ varargs _cscanf(str)
|
||||
# stub _cscanf_l
|
||||
@ varargs _cscanf_l(str ptr)
|
||||
# stub _cscanf_s
|
||||
# stub _cscanf_s_l
|
||||
@ cdecl _ctime32(ptr) MSVCRT__ctime32
|
||||
|
|
|
@ -274,3 +274,17 @@ int CDECL _cscanf(const char *format, ...)
|
|||
__ms_va_end(valist);
|
||||
return res;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _cscanf_l (MSVCRT.@)
|
||||
*/
|
||||
int CDECL _cscanf_l(const char *format, MSVCRT__locale_t locale, ...)
|
||||
{
|
||||
__ms_va_list valist;
|
||||
int res;
|
||||
|
||||
__ms_va_start(valist, locale);
|
||||
res = MSVCRT_vcscanf_l(format, locale, valist);
|
||||
__ms_va_end(valist);
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue