Commit 8a69a936 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Added _cscanf_l implementation.

parent 2242f281
...@@ -341,7 +341,7 @@ ...@@ -341,7 +341,7 @@
@ cdecl _create_locale(long str) msvcrt._create_locale @ cdecl _create_locale(long str) msvcrt._create_locale
@ stub _crt_debugger_hook @ stub _crt_debugger_hook
@ varargs _cscanf(str) msvcrt._cscanf @ varargs _cscanf(str) msvcrt._cscanf
@ stub _cscanf_l @ varargs _cscanf_l(str ptr) msvcrt._cscanf_l
@ stub _cscanf_s @ stub _cscanf_s
@ stub _cscanf_s_l @ stub _cscanf_s_l
@ cdecl _ctime32(ptr) msvcrt._ctime32 @ cdecl _ctime32(ptr) msvcrt._ctime32
......
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
@ cdecl _create_locale(long str) msvcrt._create_locale @ cdecl _create_locale(long str) msvcrt._create_locale
@ stub _crt_debugger_hook @ stub _crt_debugger_hook
@ varargs _cscanf(str) msvcrt._cscanf @ varargs _cscanf(str) msvcrt._cscanf
@ stub _cscanf_l @ varargs _cscanf_l(str ptr) msvcrt._cscanf_l
@ stub _cscanf_s @ stub _cscanf_s
@ stub _cscanf_s_l @ stub _cscanf_s_l
@ cdecl _ctime32(ptr) msvcrt._ctime32 @ cdecl _ctime32(ptr) msvcrt._ctime32
......
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
# stub _crtBreakAlloc # stub _crtBreakAlloc
# stub _crtDbgFlag # stub _crtDbgFlag
@ varargs _cscanf(str) @ varargs _cscanf(str)
# stub _cscanf_l @ varargs _cscanf_l(str ptr)
# stub _cscanf_s # stub _cscanf_s
# stub _cscanf_s_l # stub _cscanf_s_l
@ cdecl _ctime32(ptr) MSVCRT__ctime32 @ cdecl _ctime32(ptr) MSVCRT__ctime32
......
...@@ -274,3 +274,17 @@ int CDECL _cscanf(const char *format, ...) ...@@ -274,3 +274,17 @@ int CDECL _cscanf(const char *format, ...)
__ms_va_end(valist); __ms_va_end(valist);
return res; 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;
}
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