Loading...
--- Libc/Libc-763.13/stdlib/FreeBSD/strtoul.3.patch
+++ Libc/Libc-594.9.1/stdlib/FreeBSD/strtoul.3.patch
@@ -1,6 +1,6 @@
---- 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 @@
+--- 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 @@
.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
-@@ -46,25 +49,40 @@ integer
+@@ -50,25 +53,40 @@
.Lb libc
.Sh SYNOPSIS
.In stdlib.h
@@ -59,7 +59,7 @@
to an
.Vt "unsigned long"
value.
-@@ -72,7 +90,7 @@ The
+@@ -76,7 +94,7 @@
.Fn strtoull
function
converts the string in
@@ -68,7 +68,7 @@
to an
.Vt "unsigned long long"
value.
-@@ -80,7 +98,7 @@ The
+@@ -84,7 +102,7 @@
.Fn strtoumax
function
converts the string in
@@ -77,7 +77,7 @@
to an
.Vt uintmax_t
value.
-@@ -88,7 +106,7 @@ The
+@@ -92,7 +110,7 @@
.Fn strtouq
function
converts the string in
@@ -86,7 +86,7 @@
to a
.Vt u_quad_t
value.
-@@ -142,11 +160,11 @@ stores the address of the first invalid
+@@ -146,11 +164,11 @@
If there were no digits at all, however,
.Fn strtoul
stores the original value of
@@ -100,7 +100,7 @@
is not
.Ql \e0
but
-@@ -201,10 +219,22 @@ no conversion could be performed
+@@ -203,9 +221,21 @@
.It Bq Er ERANGE
The given string was out of range; the value converted has been clamped.
.El
@@ -116,9 +116,8 @@
+functions.
.Sh SEE ALSO
.Xr strtol 3 ,
+-.Xr wcstoul 3
+.Xr strtol_l 3 ,
- .Xr strtonum 3 ,
--.Xr wcstoul 3
+.Xr wcstoul 3 ,
+.Xr compat 5
.Sh STANDARDS