msvcrt: Added _wscanf_l implementation.

This commit is contained in:
Piotr Caban 2010-04-22 13:49:58 +02:00 committed by Alexandre Julliard
parent 674df1ee1e
commit ced42a0ed6
4 changed files with 17 additions and 3 deletions

View File

@ -1178,7 +1178,7 @@
@ cdecl _wrename(wstr wstr) msvcrt._wrename
@ cdecl _write(long ptr long) msvcrt._write
@ cdecl _wrmdir(wstr) msvcrt._wrmdir
@ stub _wscanf_l
@ varargs _wscanf_l(wstr ptr) msvcrt._wscanf_l
@ stub _wscanf_s_l
@ cdecl _wsearchenv(wstr wstr ptr) msvcrt._wsearchenv
@ stub _wsearchenv_s

View File

@ -1162,7 +1162,7 @@
@ cdecl _wrename(wstr wstr) msvcrt._wrename
@ cdecl _write(long ptr long) msvcrt._write
@ cdecl _wrmdir(wstr) msvcrt._wrmdir
@ stub _wscanf_l
@ varargs _wscanf_l(wstr ptr) msvcrt._wscanf_l
@ stub _wscanf_s_l
@ cdecl _wsearchenv(wstr wstr ptr) msvcrt._wsearchenv
@ stub _wsearchenv_s

View File

@ -1106,7 +1106,7 @@
@ cdecl _wrename(wstr wstr)
@ cdecl _write(long ptr long) MSVCRT__write
@ cdecl _wrmdir(wstr)
# stub _wscanf_l
@ varargs _wscanf_l(wstr ptr) MSVCRT__wscanf_l
# stub _wscanf_s_l
@ cdecl _wsearchenv(wstr wstr ptr)
# stub _wsearchenv_s

View File

@ -188,6 +188,20 @@ int CDECL MSVCRT_wscanf(const MSVCRT_wchar_t *format, ...)
return res;
}
/*********************************************************************
* _wscanf_l (MSVCRT.@)
*/
int CDECL MSVCRT__wscanf_l(const MSVCRT_wchar_t *format,
MSVCRT__locale_t locale, ...)
{
__ms_va_list valist;
int res;
__ms_va_start(valist, locale);
res = MSVCRT_vfwscanf_l(MSVCRT_stdin, format, locale, valist);
__ms_va_end(valist);
return res;
}
/*********************************************************************
* sscanf (MSVCRT.@)