WCSTOD(3)

NAME
wcstod, wcstof, wcstold, wcstod_l, wcstof_l, wcstold_l - convert wide-character string to double, float or long double

SYNOPSIS
#include <wchar.h>
double
wcstod(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
float
wcstof(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
long double
wcstold(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
#include <xlocale.h>
double
wcstod_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr, locale_t loc);
float
wcstof_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr, locale_t loc);
long double
wcstold_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr, locale_t loc);

DESCRIPTION
The wcstod(), wcstof(), wcstold(), wcstod_l(), wcstof_l(), and wcstold_l() functions are the wide-character versions of the strtod(), strtof(), strtold(), strtod_l(), strtof_l(), and strtold_l() functions. Refer to strtod(3) for details.

SEE ALSO
strtod(3), wcstol(3) xlocale(3)

STANDARDS
The wcstod() function conforms to isoC-amd1. The wcstof() and wcstold() functions conform to isoC-99. The functions with postfix "_l" are Darwin extensions.

CAVEATS
On systems other than OpenBSD, the LC_NUMERIC locale(1) category can cause parsing failures; see CAVEATS in setlocale(3) for details.