summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/atol.3
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-12-30 03:34:46 +0000
committerache <ache@FreeBSD.org>2001-12-30 03:34:46 +0000
commita6e7c78be57ebd99da59ac7e960f115badce24fd (patch)
tree4aa0c4f3355219f0fd3e65a25e922b69f3f9523e /lib/libc/stdlib/atol.3
parentc79d7cebd4c6fd0a4f8f8e633c5e25ead4f5213e (diff)
downloadFreeBSD-src-a6e7c78be57ebd99da59ac7e960f115badce24fd.zip
FreeBSD-src-a6e7c78be57ebd99da59ac7e960f115badce24fd.tar.gz
Back out errno preserving
Diffstat (limited to 'lib/libc/stdlib/atol.3')
-rw-r--r--lib/libc/stdlib/atol.312
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/libc/stdlib/atol.3 b/lib/libc/stdlib/atol.3
index 261999f..0dceeec 100644
--- a/lib/libc/stdlib/atol.3
+++ b/lib/libc/stdlib/atol.3
@@ -70,8 +70,6 @@ It is equivalent to:
.Pp
.Dl "strtol(nptr, (char **)NULL, 10);"
.Pp
-except the handling of errors.
-.Pp
The
.Fn atoll
function converts the initial portion of the string pointed to by
@@ -84,15 +82,13 @@ representation.
It is equivalent to:
.Pp
.Dl "strtoll(nptr, (char **)NULL, 10);"
-.Pp
-except the handling of errors.
.Sh ERRORS
-The
+The functions
.Fn atol
-function does not detect errors.
-The
+and
.Fn atoll
-function does not detect errors.
+need not
+affect the value of errno on an error.
.Sh SEE ALSO
.Xr atof 3 ,
.Xr atoi 3 ,
OpenPOWER on IntegriCloud