summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-02-10 10:26:52 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-02-10 10:26:52 +0000
commit429d919c7005acbab3205b40035c0429aa6a974e (patch)
treeec3b4991562dd249f2f6ccce9d52fce436b6a960 /lib/libc/stdlib
parente705b815edf54a3d56d5201b37d21d5eacdb633f (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/atof.35
-rw-r--r--lib/libc/stdlib/strtod.33
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/stdlib/atof.3 b/lib/libc/stdlib/atof.3
index 005f87d45def..ec2f0f769751 100644
--- a/lib/libc/stdlib/atof.3
+++ b/lib/libc/stdlib/atof.3
@@ -62,10 +62,11 @@ representation.
It is equivalent to:
.Bd -literal -offset indent
strtod(nptr, (char **)NULL);
+.Ed
.Pp
The decimal point
-character is defined in the program's locale (category LC_NUMERIC).
-.Ed
+character is defined in the program's locale (category
+.Dv LC_NUMERIC ) .
.Sh SEE ALSO
.Xr atoi 3 ,
.Xr atol 3 ,
diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3
index b6f94abd3d1f..ca7374ad2b40 100644
--- a/lib/libc/stdlib/strtod.3
+++ b/lib/libc/stdlib/strtod.3
@@ -70,7 +70,8 @@ Leading white-space characters in the string (as defined by the
.Xr isspace 3
function) are skipped.
The decimal point
-character is defined in the program's locale (category LC_NUMERIC).
+character is defined in the program's locale (category
+.Dv LC_NUMERIC ) .
.Sh RETURN VALUES
The
.Fn strtod