msvcrt: Added _fscanf_l implementation.

This commit is contained in:
Piotr Caban 2010-04-22 13:49:06 +02:00 committed by Alexandre Julliard
parent 231fc11457
commit 66042e0041
4 changed files with 18 additions and 3 deletions

View File

@ -432,7 +432,7 @@
@ stub _freea @ stub _freea
@ stub _freea_s @ stub _freea_s
@ stub _freefls @ stub _freefls
@ stub _fscanf_l @ varargs _fscanf_l(ptr str ptr) msvcrt._fscanf_l
@ stub _fscanf_s_l @ stub _fscanf_s_l
@ stub _fseek_nolock @ stub _fseek_nolock
@ stub _fseeki64 @ stub _fseeki64

View File

@ -424,7 +424,7 @@
@ stub _freea @ stub _freea
@ stub _freea_s @ stub _freea_s
@ stub _freefls @ stub _freefls
@ stub _fscanf_l @ varargs _fscanf_l(ptr str ptr) msvcrt._fscanf_l
@ stub _fscanf_s_l @ stub _fscanf_s_l
@ stub _fseek_nolock @ stub _fseek_nolock
@ stub _fseeki64 @ stub _fseeki64

View File

@ -1285,7 +1285,7 @@
# stub _free_dbg # stub _free_dbg
# stub _freea # stub _freea
# stub _freea_s # stub _freea_s
# stub _fscanf_l @ varargs _fscanf_l(ptr str ptr) MSVCRT__fscanf_l
# stub _fscanf_s_l # stub _fscanf_s_l
# stub _fseeki64 # stub _fseeki64
@ cdecl qsort(ptr long long ptr) ntdll.qsort @ cdecl qsort(ptr long long ptr) ntdll.qsort

View File

@ -102,6 +102,21 @@ int CDECL MSVCRT_fscanf(MSVCRT_FILE *file, const char *format, ...)
return res; return res;
} }
/*********************************************************************
* _fscanf_l (MSVCRT.@)
*/
int CDECL MSVCRT__fscanf_l(MSVCRT_FILE *file, const char *format,
MSVCRT__locale_t locale, ...)
{
__ms_va_list valist;
int res;
__ms_va_start(valist, locale);
res = MSVCRT_vfscanf_l(file, format, locale, valist);
__ms_va_end(valist);
return res;
}
/********************************************************************* /*********************************************************************
* scanf (MSVCRT.@) * scanf (MSVCRT.@)
*/ */