summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-09-09 21:09:53 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-09-09 21:09:53 +0000
commit49c65386a563e715e54e09cedeaad54038dcc753 (patch)
treeecf10b76c489cd48459da9ca6690e0ac7288a194
parentfbd6d4e09851962e3d47e2ff219980aebe184a62 (diff)
Notes
-rw-r--r--lib/libc/stdlib/atof.319
1 files changed, 18 insertions, 1 deletions
diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3
index 4a4c3e30bd91..d9ae36e34331 100644
--- a/lib/libc/stdlib/atof.3
+++ b/lib/libc/stdlib/atof.3
@@ -67,6 +67,20 @@ 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
+function is not thread-safe and also not async-cancel-safe.
+.Pp
+The
+.Fn atof
+function has been deprecated by
+.Fn strtod
+and should not be used in new code.
.Sh SEE ALSO
.Xr atoi 3 ,
.Xr atol 3 ,
@@ -77,4 +91,7 @@ character is defined in the program's locale (category
The
.Fn atof
function conforms to
-.St -isoC .
+.St -isoC ,
+.St -p1003.1 ,
+and
+.St -isoC-99 .