aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2005-01-22 18:02:58 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2005-01-22 18:02:58 +0000
commitd30837371060e3faf9ba7dd7db3247fa93a52b1a (patch)
tree9b3d449c7e6d86a2b6046a18c07ee76b4cc77b99 /lib/libc
parentd591eb90f7abc82c9726c839c0cd96071da68db8 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/strtol.36
-rw-r--r--lib/libc/stdlib/strtoul.36
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3
index 63d1156aa5a3c..f814547f750be 100644
--- a/lib/libc/stdlib/strtol.3
+++ b/lib/libc/stdlib/strtol.3
@@ -173,7 +173,8 @@ If no conversion could be performed, 0 is returned and
the global variable
.Va errno
is set to
-.Er EINVAL .
+.Er EINVAL
+(the last feature is not portable across all platforms).
If an overflow or underflow occurs,
.Va errno
is set to
@@ -193,7 +194,8 @@ to the following table.
The value of
.Fa base
is not supported or
-no conversion could be performed.
+no conversion could be performed
+(the last feature is not portable across all platforms).
.It Bq Er ERANGE
The given string was out of range; the value converted has been clamped.
.El
diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3
index d031630977d51..3ac7438b22041 100644
--- a/lib/libc/stdlib/strtoul.3
+++ b/lib/libc/stdlib/strtoul.3
@@ -192,14 +192,16 @@ If no conversion could be performed, 0 is returned and
the global variable
.Va errno
is set to
-.Er EINVAL .
+.Er EINVAL
+(the last feature is not portable across all platforms).
.Sh ERRORS
.Bl -tag -width Er
.It Bq Er EINVAL
The value of
.Fa base
is not supported or
-no conversion could be performed.
+no conversion could be performed
+(the last feature is not portable across all platforms).
.It Bq Er ERANGE
The given string was out of range; the value converted has been clamped.
.El