summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-09-26 20:10:10 +0000
committerasmodai <asmodai@FreeBSD.org>2001-09-26 20:10:10 +0000
commit176ff42ed56bc6389cbd5c72b49b375f0daef9a3 (patch)
tree3564c59b508f2c3e14d851d0f1856ba5f7ae46f4 /lib
parent82b4fa83fc304390bc4c4f701a1f8f8cfef1aeb3 (diff)
downloadFreeBSD-src-176ff42ed56bc6389cbd5c72b49b375f0daef9a3.zip
FreeBSD-src-176ff42ed56bc6389cbd5c72b49b375f0daef9a3.tar.gz
Be explicit about the POSIX version it conforms to [in this case 1990].
Put the error comment under the more appropriate ERRORS section.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/atof.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3
index 98a9571..da8bed5 100644
--- a/lib/libc/stdlib/atof.3
+++ b/lib/libc/stdlib/atof.3
@@ -67,10 +67,6 @@ strtod(nptr, (char **)NULL);
The decimal point
character is defined in the program's locale (category
.Dv LC_NUMERIC ) .
-.Pp
-The
-.Fn atof
-function does not detect errors.
.Sh IMPLEMENTATION NOTES
The
.Fn atof
@@ -81,6 +77,10 @@ The
function has been deprecated by
.Fn strtod
and should not be used in new code.
+.Sh ERRORS
+The
+.Fn atof
+function does not detect errors.
.Sh SEE ALSO
.Xr atoi 3 ,
.Xr atol 3 ,
@@ -91,7 +91,7 @@ and should not be used in new code.
The
.Fn atof
function conforms to
-.St -p1003.1 ,
+.St -p1003.1-90 ,
.St -isoC ,
and
.St -isoC-99 .
OpenPOWER on IntegriCloud