ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



WCSTOD(3)                BSD Library Functions Manual                WCSTOD(3)

NAME
     wcstod, wcstof, wcstold -- convert string to float, double, or long double

LIBRARY
     Standard C Library (libc, -lc)

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

DESCRIPTION
     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.

SEE ALSO
     strtod(3), wcstod_l(3), wcstol(3)

STANDARDS
     The wcstof(), wcstod() and wcstold() functions conform to ISO/IEC 9899:1999 (``ISO C99'').

BSD                            February 22, 2003                           BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.