| 1 | .\" Copyright (c) 2002, 2003 Tim J. Robbins |
| 2 | .\" All rights reserved. |
| 3 | .\" |
| 4 | .\" Redistribution and use in source and binary forms, with or without |
| 5 | .\" modification, are permitted provided that the following conditions |
| 6 | .\" are met: |
| 7 | .\" 1. Redistributions of source code must retain the above copyright |
| 8 | .\" notice, this list of conditions and the following disclaimer. |
| 9 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| 10 | .\" notice, this list of conditions and the following disclaimer in the |
| 11 | .\" documentation and/or other materials provided with the distribution. |
| 12 | .\" |
| 13 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
| 14 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 15 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 16 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| 17 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 18 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 19 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 20 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 21 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 22 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 23 | .\" SUCH DAMAGE. |
| 24 | .\" |
| 25 | .\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.4 2003/05/22 13:02:27 ru Exp $ |
| 26 | .\" |
| 27 | .Dd March 11, 2005 |
| 28 | .Dt WCSTOD_L 3 |
| 29 | .Os |
| 30 | .Sh NAME |
| 31 | .Nm wcstof_l , |
| 32 | .Nm wcstod_l , |
| 33 | .Nm wcstold_l |
| 34 | .Nd convert string to |
| 35 | .Vt float , double |
| 36 | or |
| 37 | .Vt "long double" |
| 38 | .Sh LIBRARY |
| 39 | .Lb libc |
| 40 | .Sh SYNOPSIS |
| 41 | .In wchar.h |
| 42 | .In xlocale.h |
| 43 | .Ft float |
| 44 | .Fn wcstof_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "locale_t loc" |
| 45 | .Ft "long double" |
| 46 | .Fn wcstold_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "locale_t loc" |
| 47 | .Ft double |
| 48 | .Fn wcstod_l "const wchar_t * restrict nptr" "wchar_t ** restrict endptr" "locale_t loc" |
| 49 | .Sh DESCRIPTION |
| 50 | The |
| 51 | .Fn wcstof_l , |
| 52 | .Fn wcstod_l , |
| 53 | and |
| 54 | .Fn wcstold_l |
| 55 | functions are extended locale versions of the |
| 56 | .Fn wcstof , |
| 57 | .Fn wcstod , |
| 58 | and |
| 59 | .Fn wcstold |
| 60 | functions, respectively. |
| 61 | Refer to their manual pages for details. |
| 62 | Also, see |
| 63 | .Xr xlocale 3 for more information about extended locales. |
| 64 | .Sh SEE ALSO |
| 65 | .Xr wcstod 3 , |
| 66 | .Xr xlocale 3 |