msvcrt: Added _swscanf_l implementation.

This commit is contained in:
Piotr Caban 2010-04-22 13:51:03 +02:00 committed by Alexandre Julliard
parent edfe9bdbae
commit 2242f281ba
4 changed files with 17 additions and 3 deletions

View File

@ -975,7 +975,7 @@
@ stub _swprintf_p
@ stub _swprintf_p_l
@ stub _swprintf_s_l
@ stub _swscanf_l
@ varargs _swscanf_l(wstr wstr ptr) msvcrt._swscanf_l
@ stub _swscanf_s_l
@ extern _sys_errlist msvcrt._sys_errlist
@ extern _sys_nerr msvcrt._sys_nerr

View File

@ -962,7 +962,7 @@
@ stub _swprintf_p
@ stub _swprintf_p_l
@ stub _swprintf_s_l
@ stub _swscanf_l
@ varargs _swscanf_l(wstr wstr ptr) msvcrt._swscanf_l
@ stub _swscanf_s_l
@ extern _sys_errlist msvcrt._sys_errlist
@ extern _sys_nerr msvcrt._sys_nerr

View File

@ -909,7 +909,7 @@
# stub _swprintf_c_l
# stub _swprintf_p_l
# stub _swprintf_s_l
# stub _swscanf_l
@ varargs _swscanf_l(wstr wstr ptr) MSVCRT__swscanf_l
# stub _swscanf_s_l
@ extern _sys_errlist MSVCRT__sys_errlist
@ extern _sys_nerr MSVCRT__sys_nerr

View File

@ -246,6 +246,20 @@ int CDECL MSVCRT_swscanf(const MSVCRT_wchar_t *str, const MSVCRT_wchar_t *format
return res;
}
/*********************************************************************
* _swscanf_l (MSVCRT.@)
*/
int CDECL MSVCRT__swscanf_l(const MSVCRT_wchar_t *str, const MSVCRT_wchar_t *format,
MSVCRT__locale_t locale, ...)
{
__ms_va_list valist;
int res;
__ms_va_start(valist, locale);
res = MSVCRT_vswscanf_l(str, format, locale, valist);
__ms_va_end(valist);
return res;
}
/*********************************************************************
* _cscanf (MSVCRT.@)