| WCSTOD(3) | Library Functions Manual | WCSTOD(3) |
wcstod, wcstof,
wcstold — convert string to
float, double, or
long double
Standard C Library (libc, -lc)
#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);
The
wcstof(),
wcstod(),
and
wcstold()
functions are the wide-character versions of the
strtof(),
strtod(),
and
strtold()
functions. Refer to strtod(3) for details.
Extended locale versions of these functions are documented in wcstod_l(3). See xlocale(3) for more information.
The wcstof(),
wcstod() and wcstold()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).
| February 22, 2003 | Mac OS X 12 |