msvcrt: Added _sscanf_l implementation.

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

View File

@ -921,7 +921,7 @@
@ stub _sprintf_p
@ stub _sprintf_p_l
@ stub _sprintf_s_l
@ stub _sscanf_l
@ varargs _sscanf_l(str str ptr) msvcrt._sscanf_l
@ stub _sscanf_s_l
@ stub _stat32
@ stub _stat32i64

View File

@ -907,7 +907,7 @@
@ stub _sprintf_p
@ stub _sprintf_p_l
@ stub _sprintf_s_l
@ stub _sscanf_l
@ varargs _sscanf_l(str str ptr) msvcrt._sscanf_l
@ stub _sscanf_s_l
@ stub _stat32
@ stub _stat32i64

View File

@ -856,7 +856,7 @@
# stub _sprintf_l
# stub _sprintf_p_l
# stub _sprintf_s_l
# stub _sscanf_l
@ varargs _sscanf_l(str str ptr) MSVCRT__sscanf_l
# stub _sscanf_s_l
@ cdecl _stat(str ptr) MSVCRT_stat
@ cdecl _stat64(str ptr) MSVCRT_stat64

View File

@ -217,6 +217,20 @@ int CDECL MSVCRT_sscanf(const char *str, const char *format, ...)
return res;
}
/*********************************************************************
* _sscanf_l (MSVCRT.@)
*/
int CDECL MSVCRT__sscanf_l(const char *str, const char *format,
MSVCRT__locale_t locale, ...)
{
__ms_va_list valist;
int res;
__ms_va_start(valist, locale);
res = MSVCRT_vsscanf_l(str, format, locale, valist);
__ms_va_end(valist);
return res;
}
/*********************************************************************
* swscanf (MSVCRT.@)