Loading...
stdlib/FreeBSD/strtod.3.patch Libc-391 Libc-583
--- Libc/Libc-391/stdlib/FreeBSD/strtod.3.patch
+++ Libc/Libc-583/stdlib/FreeBSD/strtod.3.patch
@@ -1,6 +1,55 @@
---- strtod.3.orig	Fri Mar 11 17:24:01 2005
-+++ strtod.3	Fri Mar 11 17:25:45 2005
-@@ -100,6 +100,12 @@
+--- strtod.3	2004-11-25 11:38:42.000000000 -0800
++++ strtod.3.edit	2006-08-09 13:42:36.000000000 -0700
+@@ -49,11 +49,20 @@
+ .Sh SYNOPSIS
+ .In stdlib.h
+ .Ft double
+-.Fn strtod "const char * restrict nptr" "char ** restrict endptr"
++.Fo strtod
++.Fa "const char *restrict nptr"
++.Fa "char **restrict endptr"
++.Fc
+ .Ft float
+-.Fn strtof "const char * restrict nptr" "char ** restrict endptr"
++.Fo strtof
++.Fa "const char *restrict nptr"
++.Fa "char **restrict endptr"
++.Fc
+ .Ft "long double"
+-.Fn strtold "const char * restrict nptr" "char ** restrict endptr"
++.Fo strtold
++.Fa "const char *restrict nptr"
++.Fa "char **restrict endptr"
++.Fc
+ .Sh DESCRIPTION
+ These conversion
+ functions convert the initial portion of the string
+@@ -66,16 +75,17 @@
+ .Vt "long double"
+ representation, respectively.
+ .Pp
+-The expected form of the string is an optional plus (``+'') or minus
+-sign (``\-'') followed by either:
++The expected form of the string
++is an optional plus (``+'') or minus (``\-'') sign,
++followed by either:
+ .Bl -bullet
+ .It
+-a decimal significand consisting of a sequence of decimal digits
+-optionally containing a decimal-point character, or
++a decimal significand, consisting of a sequence of decimal digits
++(optionally containing a decimal-point character) or
+ .It
+-a hexadecimal significand consisting of a ``0X'' or ``0x'' followed
+-by a sequence of hexadecimal digits optionally containing a
+-decimal-point character.
++a hexadecimal significand, consisting of a ``0X'' or ``0x'' followed
++by a sequence of hexadecimal digits
++(optionally containing a decimal-point character).
+ .El
+ .Pp
+ In both cases, the significand may be optionally followed by an
+@@ -100,6 +110,12 @@
  The decimal point
  character is defined in the program's locale (category
  .Dv LC_NUMERIC ) .
@@ -13,13 +62,11 @@
  .Sh RETURN VALUES
  The
  .Fn strtod ,
-@@ -146,7 +152,8 @@
+@@ -144,6 +160,7 @@
+ .Xr atof 3 ,
+ .Xr atoi 3 ,
  .Xr atol 3 ,
++.Xr strtod_l 3 ,
  .Xr strtol 3 ,
  .Xr strtoul 3 ,
--.Xr wcstod 3
-+.Xr wcstod 3 ,
-+.Xr strtod_l 3
- .Sh STANDARDS
- The
- .Fn strtod
+ .Xr wcstod 3