summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/atof.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib/atof.3')
-rw-r--r--lib/libc/stdlib/atof.36
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3
index ad865f4..6ae9846 100644
--- a/lib/libc/stdlib/atof.3
+++ b/lib/libc/stdlib/atof.3
@@ -64,8 +64,6 @@ It is equivalent to:
strtod(nptr, (char **)NULL);
.Ed
.Pp
-except the handling of errors.
-.Pp
The decimal point
character is defined in the program's locale (category
.Dv LC_NUMERIC ) .
@@ -80,9 +78,9 @@ function has been deprecated by
.Fn strtod
and should not be used in new code.
.Sh ERRORS
-The
+The function
.Fn atof
-function does not detect errors.
+need not affect the value of errno on an error.
.Sh SEE ALSO
.Xr atoi 3 ,
.Xr atol 3 ,
OpenPOWER on IntegriCloud