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



STRTOD_L(3)              BSD Library Functions Manual              STRTOD_L(3)

NAME
     strtod_l, strtof_l, strtold_l -- convert ASCII string to floating point

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <stdlib.h>
     #include <xlocale.h>

     double
     strtod_l(const char * restrict nptr, char ** restrict endptr, locale_t loc);

     float
     strtof_l(const char * restrict nptr, char ** restrict endptr, locale_t loc);

     long double
     strtold_l(const char * restrict nptr, char ** restrict endptr, locale_t loc);

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

SEE ALSO
     strtod(3), xlocale(3)

BSD                             March 11, 2005                             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.