test windows.cfg: Added regression test for _wtoi_l and _atoi_l.

This commit is contained in:
orbitcowboy 2022-02-15 11:37:10 +01:00
parent d3ba5a0829
commit d131235a53
1 changed files with 15 additions and 0 deletions

View File

@ -14,6 +14,21 @@
#include <time.h> #include <time.h>
#include <memory.h> #include <memory.h>
#include <mbstring.h> #include <mbstring.h>
#include <wchar.h>
int ignoredReturnValue__wtoi_l(const wchar_t *str, _locale_t locale)
{
// cppcheck-suppress ignoredReturnValue
_wtoi_l(str,locale);
return _wtoi_l(str,locale);
}
int ignoredReturnValue__atoi_l(const char *str, _locale_t locale)
{
// cppcheck-suppress ignoredReturnValue
_atoi_l(str,locale);
return _atoi_l(str,locale);
}
void invalidFunctionArg__fseeki64(FILE* stream, __int64 offset, int origin) void invalidFunctionArg__fseeki64(FILE* stream, __int64 offset, int origin)
{ {