msvcrt: Added _scanf_l implementation.
This commit is contained in:
parent
66042e0041
commit
00f704539f
|
@ -851,7 +851,7 @@
|
|||
@ cdecl -arch=i386 _safe_fprem() msvcrt._safe_fprem
|
||||
@ cdecl -arch=i386 _safe_fprem1() msvcrt._safe_fprem1
|
||||
@ cdecl _scalb( double long) msvcrt._scalb
|
||||
@ stub _scanf_l
|
||||
@ varargs _scanf_l(str ptr) msvcrt._scanf_l
|
||||
@ stub _scanf_s_l
|
||||
@ stub _scprintf
|
||||
@ stub _scprintf_l
|
||||
|
|
|
@ -837,7 +837,7 @@
|
|||
@ cdecl -arch=i386 _safe_fprem() msvcrt._safe_fprem
|
||||
@ cdecl -arch=i386 _safe_fprem1() msvcrt._safe_fprem1
|
||||
@ cdecl _scalb( double long) msvcrt._scalb
|
||||
@ stub _scanf_l
|
||||
@ varargs _scanf_l(str ptr) msvcrt._scanf_l
|
||||
@ stub _scanf_s_l
|
||||
@ stub _scprintf
|
||||
@ stub _scprintf_l
|
||||
|
|
|
@ -793,7 +793,7 @@
|
|||
@ cdecl -arch=i386 _safe_fprem()
|
||||
@ cdecl -arch=i386 _safe_fprem1()
|
||||
@ cdecl _scalb(double long) MSVCRT__scalb
|
||||
# stub _scanf_l
|
||||
@ varargs _scanf_l(str ptr) MSVCRT__scanf_l
|
||||
# stub _scanf_s_l
|
||||
# stub _scprintf
|
||||
# stub _scprintf_l
|
||||
|
|
|
@ -131,6 +131,20 @@ int CDECL MSVCRT_scanf(const char *format, ...)
|
|||
return res;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _scanf_l (MSVCRT.@)
|
||||
*/
|
||||
int CDECL MSVCRT__scanf_l(const char *format, MSVCRT__locale_t locale, ...)
|
||||
{
|
||||
__ms_va_list valist;
|
||||
int res;
|
||||
|
||||
__ms_va_start(valist, locale);
|
||||
res = MSVCRT_vfscanf_l(MSVCRT_stdin, format, locale, valist);
|
||||
__ms_va_end(valist);
|
||||
return res;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* fwscanf (MSVCRT.@)
|
||||
*/
|
||||
|
@ -145,7 +159,6 @@ int CDECL MSVCRT_fwscanf(MSVCRT_FILE *file, const MSVCRT_wchar_t *format, ...)
|
|||
return res;
|
||||
}
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
* wscanf (MSVCRT.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue