]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/wcstod.3.patch
Libc-498.1.5.tar.gz
[apple/libc.git] / locale / FreeBSD / wcstod.3.patch
1 --- wcstod.3 2004-11-25 11:38:20.000000000 -0800
2 +++ wcstod.3.edit 2006-08-09 13:29:59.000000000 -0700
3 @@ -28,40 +28,57 @@
4 .Dt WCSTOD 3
5 .Os
6 .Sh NAME
7 -.Nm wcstof ,
8 .Nm wcstod ,
9 +.Nm wcstof ,
10 .Nm wcstold
11 .Nd convert string to
12 -.Vt float , double
13 +.Vt float ,
14 +.Vt double ,
15 or
16 .Vt "long double"
17 .Sh LIBRARY
18 .Lb libc
19 .Sh SYNOPSIS
20 .In wchar.h
21 +.Ft double
22 +.Fo wcstod
23 +.Fa "const wchar_t *restrict nptr"
24 +.Fa "wchar_t **restrict endptr"
25 +.Fc
26 .Ft float
27 -.Fn wcstof "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
28 +.Fo wcstof
29 +.Fa "const wchar_t *restrict nptr"
30 +.Fa "wchar_t **restrict endptr"
31 +.Fc
32 .Ft "long double"
33 -.Fn wcstold "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
34 -.Ft double
35 -.Fn wcstod "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
36 +.Fo wcstold
37 +.Fa "const wchar_t *restrict nptr"
38 +.Fa "wchar_t **restrict endptr"
39 +.Fc
40 .Sh DESCRIPTION
41 The
42 .Fn wcstof ,
43 -.Fn wcstod
44 +.Fn wcstod ,
45 and
46 .Fn wcstold
47 functions are the wide-character versions of the
48 .Fn strtof ,
49 -.Fn strtod
50 +.Fn strtod ,
51 and
52 .Fn strtold
53 functions.
54 Refer to
55 .Xr strtod 3
56 for details.
57 +.Pp
58 +Extended locale versions of these functions are documented in
59 +.Xr wcstod_l 3 .
60 +See
61 +.Xr xlocale 3
62 +for more information.
63 .Sh SEE ALSO
64 .Xr strtod 3 ,
65 +.Xr wcstod_l 3 ,
66 .Xr wcstol 3
67 .Sh STANDARDS
68 The