]> git.saurik.com Git - apple/libc.git/blobdiff - locale/FreeBSD/wcstod.3.patch
Libc-763.13.tar.gz
[apple/libc.git] / locale / FreeBSD / wcstod.3.patch
index a569d53e6fead5f60fe8b849dc3a320c4e715a75..2b7bdca3932658bcaaa9011825a277720683c68e 100644 (file)
@@ -1,6 +1,56 @@
---- wcstod.3.orig      Fri Mar 11 19:16:16 2005
-+++ wcstod.3   Fri Mar 11 19:16:55 2005
-@@ -60,9 +60,16 @@
+--- wcstod.3.orig      2009-11-09 15:05:25.000000000 -0800
++++ wcstod.3   2009-11-09 15:05:26.000000000 -0800
+@@ -28,40 +28,57 @@
+ .Dt WCSTOD 3
+ .Os
+ .Sh NAME
+-.Nm wcstof ,
+ .Nm wcstod ,
++.Nm wcstof ,
+ .Nm wcstold
+ .Nd convert string to
+-.Vt float , double
++.Vt float ,
++.Vt double ,
+ or
+ .Vt "long double"
+ .Sh LIBRARY
+ .Lb libc
+ .Sh SYNOPSIS
+ .In wchar.h
++.Ft double
++.Fo wcstod
++.Fa "const wchar_t *restrict nptr"
++.Fa "wchar_t **restrict endptr"
++.Fc
+ .Ft float
+-.Fn wcstof "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
++.Fo wcstof
++.Fa "const wchar_t *restrict nptr"
++.Fa "wchar_t **restrict endptr"
++.Fc
+ .Ft "long double"
+-.Fn wcstold "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
+-.Ft double
+-.Fn wcstod "const wchar_t * restrict nptr" "wchar_t ** restrict endptr"
++.Fo wcstold
++.Fa "const wchar_t *restrict nptr"
++.Fa "wchar_t **restrict endptr"
++.Fc
+ .Sh DESCRIPTION
+ The
+ .Fn wcstof ,
+-.Fn wcstod
++.Fn wcstod ,
+ and
+ .Fn wcstold
+ functions are the wide-character versions of the
+ .Fn strtof ,
+-.Fn strtod
++.Fn strtod ,
+ and
+ .Fn strtold
+ functions.
  Refer to
  .Xr strtod 3
  for details.
@@ -12,9 +62,7 @@
 +for more information.
  .Sh SEE ALSO
  .Xr strtod 3 ,
--.Xr wcstol 3
-+.Xr wcstol 3 ,
-+.Xr wcstod_l 3
++.Xr wcstod_l 3 ,
+ .Xr wcstol 3
  .Sh STANDARDS
  The
- .Fn wcstof ,