NAME
wcstof
, wcstof_l
,
wcstod
, wcstod_l
,
wcstold
, wcstold_l
—
convert string to
float, double or
long double
LIBRARY
library “libc”
SYNOPSIS
#include
<wchar.h>
float
wcstof
(const
wchar_t * restrict nptr,
wchar_t ** restrict
endptr);
long double
wcstold
(const
wchar_t * restrict nptr,
wchar_t ** restrict
endptr);
double
wcstod
(const
wchar_t * restrict nptr,
wchar_t ** restrict
endptr);
#include
<xlocale.h>
float
wcstof_l
(const
wchar_t * restrict nptr,
wchar_t ** restrict
endptr, locale_t
locale);
long double
wcstold_l
(const
wchar_t * restrict nptr,
wchar_t ** restrict
endptr, locale_t
locale);
double
wcstod_l
(const
wchar_t * restrict nptr,
wchar_t ** restrict
endptr, locale_t
locale);
DESCRIPTION
Thewcstof
(),
wcstof_l
(),
wcstod
(),
wcstod_l
(),
wcstold
(),
and
wcstold_l
()
functions are the wide-character versions of the
strtof
(),
strtof_l
(),
strtod
(),
strtod_l
(),
strtold
(),
and
strtold_l
()
functions. Refer to
strtod(3) for details.
SEE ALSO
STANDARDS
The wcstof
(),
wcstod
() and wcstold
()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).