xref: /netbsd-src/lib/libc/locale/wcstod.3 (revision 20e197918c3404e0aa490cf1af012a5a79d83cdb)
1*20e19791Stnozaki.\" $NetBSD: wcstod.3,v 1.5 2007/05/21 15:29:51 tnozaki Exp $
2f9de1ba5Stnozaki.\"
3f9de1ba5Stnozaki.\" Copyright (c) 2002, 2003 Tim J. Robbins
4f9de1ba5Stnozaki.\" All rights reserved.
5f9de1ba5Stnozaki.\"
6f9de1ba5Stnozaki.\" Redistribution and use in source and binary forms, with or without
7f9de1ba5Stnozaki.\" modification, are permitted provided that the following conditions
8f9de1ba5Stnozaki.\" are met:
9f9de1ba5Stnozaki.\" 1. Redistributions of source code must retain the above copyright
10f9de1ba5Stnozaki.\"    notice, this list of conditions and the following disclaimer.
11f9de1ba5Stnozaki.\" 2. Redistributions in binary form must reproduce the above copyright
12f9de1ba5Stnozaki.\"    notice, this list of conditions and the following disclaimer in the
13f9de1ba5Stnozaki.\"    documentation and/or other materials provided with the distribution.
14f9de1ba5Stnozaki.\"
15f9de1ba5Stnozaki.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16f9de1ba5Stnozaki.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17f9de1ba5Stnozaki.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18f9de1ba5Stnozaki.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19f9de1ba5Stnozaki.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20f9de1ba5Stnozaki.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21f9de1ba5Stnozaki.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22f9de1ba5Stnozaki.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23f9de1ba5Stnozaki.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24f9de1ba5Stnozaki.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25f9de1ba5Stnozaki.\" SUCH DAMAGE.
26f9de1ba5Stnozaki.\"
27f9de1ba5Stnozaki.\" $FreeBSD: wcstod.3,v 1.4 2003/05/22 13:02:27 ru Exp $
28f9de1ba5Stnozaki.\"
29f9de1ba5Stnozaki.Dd February 22, 2003
30f9de1ba5Stnozaki.Dt WCSTOD 3
31f9de1ba5Stnozaki.Os
32f9de1ba5Stnozaki.Sh NAME
33f9de1ba5Stnozaki.Nm wcstof ,
34f9de1ba5Stnozaki.Nm wcstod ,
35f9de1ba5Stnozaki.Nm wcstold
36f9de1ba5Stnozaki.Nd convert string to
37e29be3b1Swiz.Vt float , double ,
38f9de1ba5Stnozakior
39f9de1ba5Stnozaki.Vt "long double"
40f9de1ba5Stnozaki.Sh LIBRARY
41f9de1ba5Stnozaki.Lb libc
42f9de1ba5Stnozaki.Sh SYNOPSIS
43f9de1ba5Stnozaki.In wchar.h
44f9de1ba5Stnozaki.Ft float
45f9de1ba5Stnozaki.Fn wcstof "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
46f9de1ba5Stnozaki.Ft "long double"
47f9de1ba5Stnozaki.Fn wcstold "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
48f9de1ba5Stnozaki.Ft double
49f9de1ba5Stnozaki.Fn wcstod "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
50f9de1ba5Stnozaki.Sh DESCRIPTION
51f9de1ba5StnozakiThe
52f9de1ba5Stnozaki.Fn wcstof ,
53e29be3b1Swiz.Fn wcstod ,
54f9de1ba5Stnozakiand
55f9de1ba5Stnozaki.Fn wcstold
56f9de1ba5Stnozakifunctions are the wide-character versions of the
57f9de1ba5Stnozaki.Fn strtof ,
58e29be3b1Swiz.Fn strtod ,
59f9de1ba5Stnozakiand
60f9de1ba5Stnozaki.Fn strtold
61f9de1ba5Stnozakifunctions.
62f9de1ba5StnozakiRefer to
63f9de1ba5Stnozaki.Xr strtod 3
64f9de1ba5Stnozakifor details.
65f9de1ba5Stnozaki.Sh SEE ALSO
66f9de1ba5Stnozaki.Xr strtod 3 ,
67f9de1ba5Stnozaki.Xr wcstol 3
68f9de1ba5Stnozaki.Sh STANDARDS
69f9de1ba5StnozakiThe
70f9de1ba5Stnozaki.Fn wcstod
71*20e19791Stnozakifunction conforms to
7296c95895Stnozaki.St -isoC-amd1 .
73e29be3b1SwizThe
74e29be3b1Swiz.Fn wcstof
75f9de1ba5Stnozakiand
76f9de1ba5Stnozaki.Fn wcstold
77f9de1ba5Stnozakifunctions conform to
78f9de1ba5Stnozaki.St -isoC-99 .
79