man.bsd.lv manual page server

Manual Page Search Parameters
WCSTOD(3) Library Functions Manual WCSTOD(3)

wcstof, wcstof_l, wcstod, wcstod_l, wcstold, wcstold_lconvert string to float, double or long double

library “libc”

#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);

The (), (), (), (), (), and () functions are the wide-character versions of the (), (), (), (), (), and () functions. Refer to strtod(3) for details.

strtod(3), wcstol(3), xlocale(3)

The wcstof(), wcstod() and wcstold() functions conform to ISO/IEC 9899:1999 (“ISO C99”).

December 25, 2013 DragonFly-5.6.1