wcstod
double wcstod(const wchar_t * __restrict, wchar_t ** __restrict);
double res = wcstod(buf, NULL);
ret = wcstod(s, &ep);