DragonFly On-Line Manual Pages

Search: Section:  


WCSTOD(3)             DragonFly Library Functions Manual             WCSTOD(3)

NAME

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

LIBRARY

Standard C Library (libc, -lc)

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

The wcstof(), 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

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

STANDARDS

The wcstof(), wcstod() and wcstold() functions conform to ISO/IEC 9899:1999 (``ISO C99''). DragonFly 3.7 December 25, 2013 DragonFly 3.7

Search: Section: