msvcrt: Implement _atoi64_l.

Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hua Meng 2018-03-26 21:20:48 +02:00 committed by Alexandre Julliard
parent 2f9dd7f6cb
commit e1c7a1f7ce
10 changed files with 17 additions and 9 deletions

View File

@ -5,7 +5,7 @@
@ cdecl _atoflt(ptr str) ucrtbase._atoflt
@ cdecl _atoflt_l(ptr str ptr) ucrtbase._atoflt_l
@ cdecl -ret64 _atoi64(str) ucrtbase._atoi64
@ stub _atoi64_l
@ cdecl _atoi64_l(str ptr) ucrtbase._atoi64_l
@ cdecl _atoi_l(str ptr) ucrtbase._atoi_l
@ cdecl _atol_l(str ptr) ucrtbase._atol_l
@ cdecl _atoldbl(ptr str) ucrtbase._atoldbl

View File

@ -697,7 +697,7 @@
@ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
@ stub _atoi64_l
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -1045,7 +1045,7 @@
@ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
@ stub _atoi64_l
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -1035,7 +1035,7 @@
@ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
@ stub _atoi64_l
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -1006,7 +1006,7 @@
@ cdecl _atoflt(ptr str) msvcr120._atoflt
@ cdecl _atoflt_l(ptr str ptr) msvcr120._atoflt_l
@ cdecl -ret64 _atoi64(str) msvcr120._atoi64
@ stub _atoi64_l
@ cdecl _atoi64_l(str ptr) msvcr120._atoi64_l
@ cdecl _atoi_l(str ptr) msvcr120._atoi_l
@ cdecl _atol_l(str ptr) msvcr120._atol_l
@ cdecl _atoldbl(ptr str) msvcr120._atoldbl

View File

@ -361,7 +361,7 @@
@ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
@ stub _atoi64_l
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -345,7 +345,7 @@
@ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
@ stub _atoi64_l
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -332,7 +332,7 @@
@ cdecl _atof_l(str ptr) MSVCRT__atof_l
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
# stub -ret64 _atoi64_l(str ptr)
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl

View File

@ -1068,6 +1068,14 @@ int CDECL MSVCRT_atoi(const char *str)
}
#endif
/******************************************************************
* _atoi64_l (MSVCRT.@)
*/
__int64 CDECL MSVCRT__atoi64_l(const char *str, MSVCRT__locale_t locale)
{
return MSVCRT_strtoi64_l(str, NULL, 10, locale);
}
/******************************************************************
* _atol_l (MSVCRT.@)
*/

View File

@ -196,7 +196,7 @@
@ cdecl _atoflt(ptr str) MSVCRT__atoflt
@ cdecl _atoflt_l(ptr str ptr) MSVCRT__atoflt_l
@ cdecl -ret64 _atoi64(str) ntdll._atoi64
@ stub _atoi64_l
@ cdecl _atoi64_l(str ptr) MSVCRT__atoi64_l
@ cdecl _atoi_l(str ptr) MSVCRT__atoi_l
@ cdecl _atol_l(str ptr) MSVCRT__atol_l
@ cdecl _atoldbl(ptr str) MSVCRT__atoldbl