Loading...
stdlib/FreeBSD/strtoul.3.patch Libc-498 Libc-763.13
--- Libc/Libc-498/stdlib/FreeBSD/strtoul.3.patch
+++ Libc/Libc-763.13/stdlib/FreeBSD/strtoul.3.patch
@@ -1,6 +1,6 @@
---- strtoul.3	2003-05-20 15:23:25.000000000 -0700
-+++ strtoul.3.edit	2006-08-09 13:43:16.000000000 -0700
-@@ -40,7 +40,10 @@
+--- strtoul.3.bsdnew	2009-11-13 14:11:51.000000000 -0800
++++ strtoul.3	2009-11-13 14:40:07.000000000 -0800
+@@ -36,7 +36,10 @@
  .Dt STRTOUL 3
  .Os
  .Sh NAME
@@ -12,7 +12,7 @@
  .Nd "convert a string to an"
  .Vt "unsigned long" , "unsigned long long" , uintmax_t ,
  or
-@@ -50,25 +53,40 @@
+@@ -46,25 +49,40 @@ integer
  .Lb libc
  .Sh SYNOPSIS
  .In stdlib.h
@@ -59,7 +59,7 @@
  to an
  .Vt "unsigned long"
  value.
-@@ -76,7 +94,7 @@
+@@ -72,7 +90,7 @@ The
  .Fn strtoull
  function
  converts the string in
@@ -68,7 +68,7 @@
  to an
  .Vt "unsigned long long"
  value.
-@@ -84,7 +102,7 @@
+@@ -80,7 +98,7 @@ The
  .Fn strtoumax
  function
  converts the string in
@@ -77,7 +77,7 @@
  to an
  .Vt uintmax_t
  value.
-@@ -92,7 +110,7 @@
+@@ -88,7 +106,7 @@ The
  .Fn strtouq
  function
  converts the string in
@@ -86,7 +86,7 @@
  to a
  .Vt u_quad_t
  value.
-@@ -146,11 +164,11 @@
+@@ -142,11 +160,11 @@ stores the address of the first invalid 
  If there were no digits at all, however,
  .Fn strtoul
  stores the original value of
@@ -100,7 +100,7 @@
  is not
  .Ql \e0
  but
-@@ -203,9 +221,21 @@
+@@ -201,10 +219,22 @@ no conversion could be performed
  .It Bq Er ERANGE
  The given string was out of range; the value converted has been clamped.
  .El
@@ -116,8 +116,9 @@
 +functions.
  .Sh SEE ALSO
  .Xr strtol 3 ,
++.Xr strtol_l 3 ,
+ .Xr strtonum 3 ,
 -.Xr wcstoul 3
-+.Xr strtol_l 3 ,
 +.Xr wcstoul 3 ,
 +.Xr compat 5
  .Sh STANDARDS