WCSTOD_L(3) Library Functions Manual WCSTOD_L(3)

wcstof_l, wcstod_l, wcstold_lconvert string to float, double or long double

Standard C Library (libc, -lc)

#include <wchar.h>
#include <xlocale.h>

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

double
wcstod_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr, locale_t loc);

The (), (), and () functions are extended locale versions of the (), (), and () functions, respectively. Refer to their manual pages for details. Also, see xlocale(3) for more information about extended locales.

wcstod(3), xlocale(3)

March 11, 2005 macOS 15.2